> Does the Apache SOAP API use DOM to represent the XML, and it 
> is possible
> to get the DOM tree for the body element without creating a new parser
> (SAX/DOM)?

If you have generated a given Envelope from a parsed XML stream (rather than
creating it programatically), the body entries collection (i.e.
Body.getBodyEntries()) should contain a DOM Element for each body entry.
I'm not sure you can get the actual <SOAP-ENV:Body> Element very easily.

> Is it possible (configuration) to use a SAX parser with 
> Apache SOAP instead
> of DOM?

Axis (http://xml.apache.org/axis), the next generation of Apache SOAP, is
based on SAX (and performs significantly better as a result).  You can use
the internal MessageElement representation to read/manipulate SOAP, or you
can get any element as a DOM.  

--Glen

Reply via email to