Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Convert a SOAPBody into a String or into a XMLDocument

843834Oct 22 2002 — edited Feb 5 2010
Hi Folks,

I am very much looking for a solution for the below problem.
If u see one of the JAXM examples ReceivingServlet.java in that we have the below code:

SOAPPart sp = message.getSOAPPart();
SOAPEnvelope se = sp.getEnvelope();
SOAPBody sb = se.getBody();
here i got the SOAPBODY now i want to convert the content of the soap body into a xml doucment or into a string.

Any help on this will be much appreciated.

Thanks,
santosh




Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 5 2010
Added on Oct 22 2002
4 comments
10,628 views