[jdom-interest] error creating new DOMBuilder

Elliotte Rusty Harold elharo at metalab.unc.edu
Wed May 28 17:28:12 PDT 2003


>Hello,
>
>i try to create a DOMBuilder within a soap-service just by calling
>
>    org.jdom.input.DOMBuilder builder = new org.jdom.input.DOMBuilder();
>
>what i get back from the server looks like this:
>
><SOAP-ENV:Envelope 
>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
>xmlns:xsd="http://www.w3.org/2001/XMLSchema">
><SOAP-ENV:Body>
><SOAP-ENV:Fault>
><faultcode>SOAP-ENV:Server</faultcode>
><faultstring>Exception from service object: 
>org/jdom/input/DOMBuilder</faultstring>
><faultactor>/soap/servlet/messagerouter</faultactor>
><detail>
></detail>
></SOAP-ENV:Fault>
></SOAP-ENV:Body>
></SOAP-ENV:Envelope>
>
>i don't even try to build a Document, just instantiate the DOMBuilder...
>

Then  how do you know what you get back from the builder? In any 
case, don't use DOMBuilder. Use SAXBuilder.
-- 

   Elliotte Rusty Harold
   elharo at metalab.unc.edu
   Processing XML with Java (Addison-Wesley, 2002)
   http://www.cafeconleche.org/books/xmljava
   http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA



More information about the jdom-interest mailing list