I am having a problem in makin a call using Axis client. I have generated the client in java using wsdl file. When I make the call using generated client it generates a SOAP request message, that I have pasted below, which contains a terminating zero in it [ </soapenv:Envelope>0 ]. This terminating zero is creating problem for the web service server to recognize the recieving request message as a valid xml format for SOAP. Does any body have idea why this terminating zero is for? how can I remove this terminating zero from the SOAP request. SOAP request message is as follows:
POST http://webserviceserver:1080/eproxy/service/security HTTP/1.1
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Not sure if the terminating 0 is valid, but it definitely has to do with chunking.