xml-soap-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajit Sadasivan" <asadasi...@parabolicsoftware.com>
Subject CRLF after SOAPAction ?
Date Mon, 03 Jun 2002 13:35:54 GMT

    I am using the  SendMessage.java file coming with the messaging 
sample of Apache Soap 2.2 to send XML messages to a SOAP server 
application.This server application uses its own http libraries to parse
the data.The problem comes where I am parsing the HTTP header and the 
SOAP envelope to get the message.
 The tcp trace shows a CRLF character after SOAPAction field.
Why is it coming.How can I get rid of it ?

POST /index.xml HTTP/1.0
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: 1158
SOAPAction: ""

<?xml version='1.0' encoding='UTF-8'?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<purchaseOrder orderDate="1999-10-20" xmlns="urn:po-processor">
    <shipTo country="US">
        <name>Alice Smith</name>
        <street>123 Maple Street</street>
        <city>Mill Valley</city>

With Regards

View raw message