K
kackson
Hi.
Before I POST my soap message, I need to fill out the Content-Length
for my content to tbe sent over. For the case below:
POST /SoapExamples/simpleService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "urn:schemas-syngress-com-soap/echo"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<echo xmlns="urn:schemas-syngress-com-soap">
<input>string</input>
</echo>
</soap:Body>
</soap:Envelope>
what is my content length? How do you calculate it? I dont seems to be
able to get the right content length. Are there also tools/scripts to
calculte the content legnth? Thank you.
Before I POST my soap message, I need to fill out the Content-Length
for my content to tbe sent over. For the case below:
POST /SoapExamples/simpleService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "urn:schemas-syngress-com-soap/echo"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<echo xmlns="urn:schemas-syngress-com-soap">
<input>string</input>
</echo>
</soap:Body>
</soap:Envelope>
what is my content length? How do you calculate it? I dont seems to be
able to get the right content length. Are there also tools/scripts to
calculte the content legnth? Thank you.