Skip to Content
author's profile photo Former Member
Former Member

SOAP Runner Problem

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 16, 2007 at 12:10 PM

    "Google It".

    Search for Flex Error 2032 and you'll get your answer(s).

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 06:35 AM

    Hi Rupesh,

    Try

    var obj:Object = new Object();
     obj.argone = valueone;
     obj.argtwo = valuetwo; 
    . . . WS.arguments = obj;
     WS.send(); 
    

    Regards,

    Musarrat

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.