axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <sam...@wso2.com>
Subject Re: wrong message when sending via HTTP
Date Wed, 26 Nov 2008 14:48:52 GMT
Mehturt wrote:
> Hello list,
> I am using Axis2C 1.4.0 on RHEL5 to call a webservice - send a XML
> file and receive a XML file as a response.
> This works fine most of the time.
> Sometimes, however, the request sent is messed up - the soap envelope
> starts somewhere in the middle of the XML file and the content of XML
> file is repeated multiple times.
>   

Double check the OM build logic that you are using.

How do you capture the message on server side? May be you are not 
printing out the message on the server side properly. Did you try 
debugging the server side or client side to track the serialization and 
decerialization points?

Samisa...

> I am using this example code
> http://ws.apache.org/axis2/c/docs/om_tutorial.html#Complete_Sample to
> build the document.
>
> Example of messed up message as captured at the webservice site:
>
> <tns:fdr xmlns:tns="http://www.example.com/xxx"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://www.example.com/xxx xxx.xsd">
>       <fdrInput>
>               <settings>
>                       <requestId>8263</requestId>
>               </settings>
>               <file>
>                       <path>/path/aaa</path>
>                       <fileName>aaafile1</fileName>
>                       <status>deleted</status>
>               </file>
> ...
>               <file>
>                       <path>/pathbbb<soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
> /><soapenv:Body><tns:fdr
> xsi:schemaLocation="http://www.example.com/xxx xxx.xsd">
>       <fdrInput>
>               <settings>
>                       <requestId>8263</requestId>
>               </settings>
>               <file>
>                       <path>/path/aaa</path>
>                       <fileName>aaafile1</fileName>
>                       <status>deleted</status>
>               </file>
> ...
>               <file>
>                       <path>/path/ccc</path>
>
> <fileName>ccc</fileName></file></fdrInput></tns:fdr></soapenv:Body></soapenv:Envelope></path></file></fdrInput></tns:fdr>
>
> Do you have an idea why this is happening and what is going on?
> Thanks
> m.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>   
> ------------------------------------------------------------------------
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.175 / Virus Database: 270.9.10/1813 - Release Date: 11/26/2008 8:53 AM
>
>   


-- 
Samisa Abeysinghe 
Director, Engineering; WSO2 Inc.

http://www.wso2.com/ - "The Open Source SOA Company"


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message