JBoss Community

Re: JBOSS-WS SOAPHandler in chain no getContent method

created by spyhunter99 in JBoss Web Services - View the full discussion

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

Start a new discussion in JBoss Web Services at Community