axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mehturt <meht...@gmail.com>
Subject wrong message when sending via HTTP
Date Wed, 26 Nov 2008 13:11:33 GMT
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.
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


Mime
View raw message