Hi,
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/">
<s:Body>
<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>
<state>CA</state>
<zip>90952</zip>
With Regards
Ajit.S