> -----Original Message----- > From: Ajit Sadasivan [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 03, 2002 8:36 AM > To: [EMAIL PROTECTED] > Subject: CRLF after SOAPAction ? > > > 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'?>
That blank line is supposed to be there. It separates the http headers from the body. [EMAIL PROTECTED] Author of Soap Programming with Java - Sybex; ISBN: 0782129285