The getText() here just get the child text node(s) as a string. You want to use one of the serialize() methods.
If you're looking to debug soap, TCPMon (http://ws.apache.org/commons/tcpmon/ ) might be an easier option. -----Original Message----- From: Z Chen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 3:01 PM To: [email protected] Subject: display the xml content of a SOAP request Hi, Suppose I have SOAPEnvelop, how to display the XML content of the SOAP request ? is it getBody().getText() ? Somehow I got an empty string back. Thanks John __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
