Hi All,
I am trying to call a transaction as Web Service from Adobe Flex Application.
I am using the following code
<mx:WebService id ="SomeId"
wsdl="http://<ServerName>/Lighthammer/WSDLGen/<TransactionPath>"
useProxy="false" >
<mx:operation name="Xacute" >
<mx:request>
<XacuteRequest>
<InputParams>
<LoginName>LoginName</LoginName>
<LoginPassword>Password</LoginPassword>
<Input-Parameter> input value </Input-Parameter-->
</InputParams>
</XacuteRequest>
</mx:request>
</mx:operation>
</mx:WebService>
when tried to run the wsdl from Interned Explorer , it returns the expected result, but when the application run as the Flex Application, it returns the following error.
[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://<Servername>/Lighthammer/SOAPRunner/<TranaactionPath>"]. URL: http://<Servername>/Lighthammer/SOAPRunner/<TranaactionPath>"]. "]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::DirectHTTPMessageResponder/errorHandler()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()
Please suggest,
Thanks in Advance