This discussion is archived
2 Replies Latest reply: Apr 26, 2013 5:22 AM by PhHein RSS

Question about SOAPBody # extractContentAsDocument()

774744 Newbie
Currently Being Moderated
Hi java experts,

I have a question about a method SOAPBody # extractContentAsDocument().

According to its javadoc,
when you use this method, "The child SOAPElement is removed as part of the process",
but when I use this method to get a SOAPBody's full content as XML, with several kind of JVM,
it seems like I can perfectly retrieve its all children elements without any loss.

So I can't get what the javadoc is meaning by "The child SOAPElement is removed".
Does anyone know anything about this?

Thanks and regards


  • Correct Answers - 10 points
  • Helpful Answers - 5 points