users@glassfish.java.net

Re: Glassfish eating newlines in SOAP message - how to stop?

From: <glassfish_at_javadesktop.org>
Date: Mon, 25 May 2009 03:38:36 PDT

That's correct. The setup is extremely simple, and I've attached a WAR which will demonstrate my problem perfectly.

Just send the following SOAP message and check the console out (I would normally start Glassfish with the command ./asadmin start-domain --verbose domain1 for this).

SOAP Message:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>







</soapenv:Body>
</soapenv:Envelope>

That becomes <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header/><soapenv:Body/></soapenv:Envelope> when it's printed out.

Hopefully that'll help some.

- Andrew Thorburn
[Message sent by forum member 'ipsi' (ipsi)]

http://forums.java.net/jive/thread.jspa?messageID=347528