Check whether the URL is accessible from your browser.
If yes, make sure that you have a proper crossdomain.xml in the server (where the web-service is hosted) and accessible by the URL http://your_server/crossdomain.xml.
Eg:
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="*" to-ports="*"/>
<allow-http-request-headers-from domain="*" headers="SOAPAction"/>
</cross-domain-policy>
[For details: http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html]
If yes, check your WSDL file format.
This was very helpful.... fixed in 5 minutes after reading this... 5star :) !!! Thanks a lot !!!
ReplyDeletehi,
ReplyDeleteit is still not answering why we can run the app via IDE?
@arinegara: You might not have the proper crossdomain.xml file in your server.
ReplyDelete