You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Morten J Nielsen <mo...@dk.ibm.com> on 2001/08/10 15:24:00 UTC
Does Apache SOAP use DOM for parsing/representation of XML?
Hi,
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)?
Is it possible (configuration) to use a SAX parser with Apache SOAP instead
of DOM?
Any imput is apreciated!
Regards
Morten Jul Nielsen
----------------------------------------------------------------------
Advisory IT-Specialist, Master of Science in Engineering - Informatics
Mobile e-business Practice
Business Innovation Services, IBM Global Services
Sortemosevej 21 - E1C, DK-3450 Allerød, Denmark
Phone: + 45 45239517, Mobil : +45 23236116 Fax: +45 45236805
Re: Does Apache SOAP use DOM for parsing/representation of XML?
Posted by William Brogden <wb...@bga.com>.
Morten J Nielsen wrote:
>
> Hi,
>
> 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)?
Yes it uses DOM - you will have to dig into the source code
to see where to get the Elements representing the body.
>
> Is it possible (configuration) to use a SAX parser with Apache SOAP instead
> of DOM?
The code is entirely dependent on manipulating a DOM
>
> Any imput is apreciated!
>
> Regards
>
> Morten Jul Nielsen
> ----------------------------------------------------------------------
> Advisory IT-Specialist, Master of Science in Engineering - Informatics
> Mobile e-business Practice
> Business Innovation Services, IBM Global Services
> Sortemosevej 21 - E1C, DK-3450 Allerød, Denmark
> Phone: + 45 45239517, Mobil : +45 23236116 Fax: +45 45236805
--
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2
Re: Does Apache SOAP use DOM for parsing/representation of XML?
Posted by William Brogden <wb...@bga.com>.
Morten J Nielsen wrote:
>
> Hi,
>
> 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)?
Yes it uses DOM - you will have to dig into the source code
to see where to get the Elements representing the body.
>
> Is it possible (configuration) to use a SAX parser with Apache SOAP instead
> of DOM?
The code is entirely dependent on manipulating a DOM
>
> Any imput is apreciated!
>
> Regards
>
> Morten Jul Nielsen
> ----------------------------------------------------------------------
> Advisory IT-Specialist, Master of Science in Engineering - Informatics
> Mobile e-business Practice
> Business Innovation Services, IBM Global Services
> Sortemosevej 21 - E1C, DK-3450 Allerød, Denmark
> Phone: + 45 45239517, Mobil : +45 23236116 Fax: +45 45236805
--
WBB - wbrogden@lanw.com
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2