[jboss-user] [JBossWS] - Re: Newlines/spaces in SOAPMessage

alfred.rsa do-not-reply at jboss.com
Thu Jul 16 01:28:37 EDT 2009


Hi Alessio

Thanks for the reply. No I create the SOAP message by getting an instance of the SOAP MessageFactory and then adding elements to the body. 
When i use the SoapMessage writeTo method to a file, it contains no CRLF pairs, but when I intercept the message using WireShark, I see the CRLF's.
So it seems as if the SOAPConnection call method or underlying transport is adding the CRLF's

Using the exact same code in GlassFish, the CRLF's are never added and it works fine, but I do not want to use GlassFish 

Regards
Alfred

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243955#4243955

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243955



More information about the jboss-user mailing list