I want to access a SOAP webservice using mx.rpc.soap.mxml.WebService.
Following is my code:
<mx:WebService id="miner_service" wsdl="http://localhost:8080">
<mx:operation name="hello" result="echoResultHandler(event);"></mx:operation>
When debugging with that, I got such error message:
[Fault] exception, information=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://localhost:8080)"]
Then I use Fiddler try to capture the response returned by server, it's like this:
Error code 501.
Message: Unsupported method ('GET').
Error code explanation: 501 = Server does not support this operation.
But when I use python to send SOAP request by HTTP POST, the server will return correct response.
So how can I send SOAP request by HTTP POST?
(I tried <mx:WebService wsdl="http://localhost:8080" method="POST">, but no luck..)
I think for mx:WebService, there has to be an actual WSDL at some URL somewhere. Is there a WSDL for your SOAP service?
Sorry for my late reply..
There's no WSDL for that SOAP service