andreas_back [
http://community.jboss.org/people/andreas_back] created the discussion
"Re: Unable to priint the content of SOAPBody"
To view the discussion, visit:
http://community.jboss.org/message/578735#578735
--------------------------------------------------------------
Hello!
Yes, the following code solved it for me
MessageContext mc = webServiceContext.getMessageContext();
SOAPMessage message = ((SOAPMessageContextJAXWS) mc).getMessage();
ByteArrayOutputStream byteOut = new ByteArrayOutputStream();
message.writeTo(byteOut);
String request = new String(byteOut.toByteArray(), "UTF-8");
Greetings
Andreas
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/578735#578735]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]