I found a way to make it work on 4.0.2. I didn't test it back to 4.0.1:

  | SOAPMessageContext soapContext = (SOAPMessageContext) messageContext;
  | SOAPMessage soapMsg = soapContext.getMessage();
  | Source source =  soapMsg.getSOAPPart().getContent();
  | StringWriter writer = new StringWriter();
  | Result result = new StreamResult(writer);
  | Transformer xformer = TransformerFactory.newInstance().newTransformer();
  | xformer.transform(source, result);
  | return writer.toString();
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877770#3877770

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877770


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to