2 Replies Latest reply on Apr 25, 2009 5:21 AM by -jce-

    Imported Web Service Stops Working When Deployed


      I am modifying a dashboard application to access a web service rather than use XML. It works in the debugger but stops working as soon as I deploy the HTML/SWF to a web server.


      If I access the html file from the local filesystem it works. (file://path/swf.html) As soon as I try that by loading it from the web server, the SWF loads, but the call to the web service just never occurs. (http://localhost/swf.html) I have used a packet sniffer to look for the call to the web service and I have tried watching from the web service side. I can see the call when I use the "file:" method or debugging from Flex Builder, but not using the "http:" method.


      I imported the WSDL so I am using generated code.


      I have the following in the crossdomain.xml files on both the server hosting the SWF and the server hosting the web service. (I don't think it's required to be on both but I am pretty much out of ideas.)


      <?xml version="1.0"?>
      <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
      <allow-access-from domain="*" />


      Any help here would be appreciated.