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