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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
------------------------------------------------------------------------


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to