[jdom-interest] Processing SOAP Document

Koller, Shmuel Shmuel_Koller at bmc.com
Thu Jul 24 11:36:29 PDT 2003


In processing a SOAP response inside SOAP client with JDOM -
I have at hand a org.jdom.Document which is a whole SoapEnvelope..

Rather than query for rootElement("Envelope"),
then getting to expected getChild("Body"), etc. -
is there a more convenient JDOM way to traverse a SOAP document ?

What I mean - is there a way to superimpose SoapEnvelope model on a given
doc
and for example use a JDOM method to "get to the SOAP Body"? 
Or use a JDOM method (other than validation) to confirm Document is a valid
SOAP release x.x  ? 

Yes, SOAP is a particular schema, yet -
this concern is emmited by the fact that SOAP (Message style, not RPC)
documents are,  or likely to be, popular.

Thanks, Shmuel Koller, BMC 






More information about the jdom-interest mailing list