Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

File needed on server to allow flash to contact web service?

Posted on 2007-04-02
8
Medium Priority
?
212 Views
Last Modified: 2010-04-03
I have a web service that I am calling from an external domain and I was curious what kind of file I need to put on the server to allow it to make the calls.  I read somewhere that I need a file on the server to do this but cant remember what one or what needs to be in it.

I would love to use flash remoting but in reading most of the examples I saw, it seemed that you needed a proper WSDL file and the service I am calling just returns xml and doesn't have a WSDL.
0
Comment
Question by:wildbrookmedia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 37

Accepted Solution

by:
CyanBlue earned 700 total points
ID: 18838544
You basically need a crossdomain.xml file on your server so that the SWF files in other domain can call...
Check these links out...

http://www.crossdomainxml.org/

CyanBlue
0
 
LVL 8

Author Comment

by:wildbrookmedia
ID: 18839617
Our server guy is out today so I will have to wait till tomorrow to get one of these on the server...
0
 
LVL 8

Author Comment

by:wildbrookmedia
ID: 18839624
... and is it true that you need a WSDL to implement flash remoting as opposed to just consuming the XML?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 37

Expert Comment

by:CyanBlue
ID: 18840300
Um...  I am not 100% sure what you are asking there, but you don't need the Flash Remoting to consume the WSDL...  You can utilize the WebServiceConnector component to do so...

CyanBlue
0
 
LVL 8

Author Comment

by:wildbrookmedia
ID: 18840386
http://www.flashmagazine.com/923.htm

The site above talks about Flash Remoting as an alternative to consuming the xml returned by a web service directly.  The web service I am calling doesnt have a WSDL but simply returns XML so I didnt think flash remoting was an option for me nor was using any of the WebService classes...  Can I use flash remoting or the web service components without a WSDL?  (hopefully more clear?)
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 18840718
What I am trying to say is...
You can simply use XML.load() function to load the XML data from the server without using the Flash Remoting or WebServiceConnector component...
You can however use those if you choose to/required to...  Those can be convinient for some cases, but that's not the only one you can use to load the XML data out of the server...  But there are circumstances when you have to use, but I don't think that applies to your case and I think that's beyond the scope of your question...

So, to answer your question again, yes, you can use those to load the XML data from the server, but it is not always necessary to do so...

I suggest you check out the XML object in Flash to learn more about it and see if you can use that one instead...  ;)

CyanBlue
0
 
LVL 8

Author Comment

by:wildbrookmedia
ID: 18844380
thanks for answering the off topic question.  We put a cross domain file on the server and got the movie to work so thanks for that too!  :)
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 18844466
Glad to hear that you've got it working...  :)

CyanBlue
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question