Solved

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

Posted on 2007-04-02
8
199 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 175 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
SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

 
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

Suggested Solutions

Title # Comments Views Activity
How to display a webpage in a flash 10 385
Crash with shockwave flash 8 259
video live streaming 1 129
black magic design 1 135
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

751 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