0 Replies Latest reply: Apr 8, 2008 8:22 AM by Yasir Arsalan Shaikh RSS

terminating zero in SOAP request

Yasir Arsalan Shaikh Newbie

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
SOAPAction: "http://ABC.com/Security/LoginExtended"
User-Agent: Axis/1.4
Host: vs-devbwb:1080
Proxy-Connection: Keep-Alive
Transfer-Encoding: chunked

135
<?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">
<soapenv:Body>

</soapenv:Body>
</soapenv:Envelope>0