all groups > flash data integration > january 2005 >
You're in the

flash data integration

group:

Web Service Connector question



Web Service Connector question Konlin
1/12/2005 7:42:42 PM
flash data integration: i have a XML webServiceConnector that works great when i publish my swf
locally. When i upload, the swf to the webserver, the connector seems to fail.
I have the correct URL entered in the WSDLURL, but for some reason it won't
return the data. Is there a pre-requiste is required for the
WebServiceConnector to work that my ISP does not provide??

thank you.
Re: Web Service Connector question tom5t
1/17/2005 8:38:15 AM
I believe (and don't quote on this, i'm no expert) your problem comes from
flash players sand box security.
It won't connect to web services unless they are on the same domain. I think
you can change this setting when exporting the SWF so that you can use web
services outside your domain.

You won't get this problem when you test the movie because it appears as
though the testing inside of the Flash MX 2004 allows you to connect to any
webservice (for testing purposes). If I remember if you are testing in the
browser just in the local file system it does this also. But once you take it
into a web server the sand box security defaults and kicks in not allowing the
web service to connect.

By the way if your webservice is on the same server as the SWF file than make
sure you change your connector from localhost (when developing locally) to
yourDomain.com before exporting. If this is the case you shouldn't need to
fiddle with sand box security as its simply a problem with you connectors
address.

On the other hand if you webservice is remote you will probably have to deal
with this issue. (sorry I havn't had to go there yet)

I'm not sure if this helps, but thats just the process I had to go through to
get connectivity.
Re: Web Service Connector question Konlin
1/20/2005 7:03:55 PM
thank you for your reply. I will look into this option.

Much appreciated.
AddThis Social Bookmark Button