I am using Hibernate to generate an XML document, which uses dom4j.
I am trying to use Axis to pass the XML documents to the client tier
from a web service. The Axis message framework only accepts w3c
documents, so I have a need to convert the dom4j dom from hibernate
to a w3c dom. I have successfully used the DOMWriter to do the
conversion. The root element is passed to Axis for the response.
While Axis is looping through the child nodes of the document using a
NodeList, adding them to a document of it's own, it is still finding
objects of the dom4j class. This throws an exception out of dom4j
DOMNodeHelper about asDOMNode() not being supported yet.
I have looked briefly at the DOMWriter source, which appears to try
to reconstruct an entirely new document, which should not have
residual dom4j objects. Has anyone encountered this before?
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user