[jboss-user] [JBoss Web Services] - Re: JBOSS-WS SOAPHandler in chain no getContent method
spyhunter99
do-not-reply at jboss.com
Wed Mar 28 16:12:29 EDT 2012
spyhunter99 [https://community.jboss.org/people/spyhunter99] created the discussion
"Re: JBOSS-WS SOAPHandler in chain no getContent method"
To view the discussion, visit: https://community.jboss.org/message/727047#727047
--------------------------------------------------------------
ByteArrayOutputStream b = new ByteArrayOutputStream();
messageContext.getMessage().writeTo(b);
String text = b.toString();
As a word of caution, make sure this is in a try caught and check for nulls.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/727047#727047]
Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120328/9d729f04/attachment.html
More information about the jboss-user
mailing list