This content has been marked as final. Show 6 replies
Are you running the HTML file for the Flex application from the place where the WSDL is?
Otherwise try putting the full path to the WSDL in the WSDL property of mx:WebService like so:
<mx:WebService d="soap" wsdl=" http://22.214.171.124:8002/WSDL/v4.0/iLON100.wsdl" fault="failed(event)" result="worked(event)" showBusyCursor="true">
Im pretty sure i was running into some cross domain issues because im not running the software at that ip. So instead i got the wsdl and have it locally where the html is being run
If you're running the Flex application from Flex Builder, you shouldn't run into crossdomain issues. Flex Builder automatically trusts the swf file so that your development cycle is smooth.
But if you host your swf at localhost or any server, you'll run into the crossdomain problem if your WSDL is at domain B and your swf is hosted at domain A.
I tried both running it locally and on the same domain and go the same error. so im pretty sure the problem is _not_ a crossdomain issue. i just dont know what it is.. here is some more details on the error
body = (Object)#1
clientId = (null)
contentType = "application/x-www-form-urlencoded"
destination = ""
headers = (Object)#2
httpHeaders = (Object)#3
messageId = "90AB8BE3-59A0-70C0-2B55-E9D0759171FB"
method = "GET"
recordHeaders = false
timestamp = 0
timeToLive = 0
url = " http://126.96.36.199:8002/WSDL/iLON100.wsdl"
[RPC Fault faultString="[MessagingError message='Destination 'DefaultHTTP' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']" faultCode="InvokeFailed" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL ( http://<IP>/WSDL/iLON100.wsdl)"
I strongly suspect that the path to your WSDL is wrong. Is your URL publicly accessible?
Hitting http://188.8.131.52:8002/WSDL/iLON100.wsdl gives me a 404 File not found error. Please confirm that you can see the XML of the WSDL by hitting the same URL in the browser.