Please install an http debugging proxy like

http://www.xk72.com/charles/

Look for the request response in the particular operation  call.  Flex is
not
able to decipher the exact error message in a soap fault sometimes,
which you will be  able to view in the response tab in charles.
Most probably the server is failing at the point of parsing the soap
request.

Also in age, are you trying to convert to a string when you want to send an
int ?

~Peeyush

On Thu, Apr 3, 2008 at 2:08 PM, mailamannow <[EMAIL PROTECTED]> wrote:

>   Hi
>
> I m trying to store data into database using Simple Pojo based Web
> Service, deployed in Axis. The Web Service is successfully storing
> string data, but is returning the following error when strring, date,
> long, and int values are sent as a request.
> The error goes like this:
>
> FaultEvent fault=[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://localhost:80/axis2/services/servicename";]. URL:
> http://localhost:80/axis2/services/servicename";]
> messageId="D9765452-E4A1-C8DF-3739-136322F8C57C" type="fault"
> bubbles=false cancelable=true eventPhase=2]
>
> I found something related that has been reported as a bug to Adobe and
> has its status "Closed".
>
> Here is the simple code used to send data to web service named "WS"
>
> /* "someString1", "mob" below are of type "TextInput", while "date" is
> a "DateField" */
>
> ----------------------------------------------------------
>
> WS.addEventListener(ResultEvent.RESULT, errorHandleFunction);
> WS.addRecord.request.someString1 = someString1.text.toString();
>
> WS.addRecord.request.mob = mob.text.toString() + "l";
> WS.addRecord.request.age = age.text.toString();
> WS.addRecord.request.someDate = date.selectedDate;
> WS.addRecord.send();
> ----------------------------------------------------------
>
> /* "l" is suffixed to mobile since the Pojo web service has a
> corresponding long data type */
>
> what could be the problem for such an error?
>
>  
>

Reply via email to