I've scanned the dom4j documentation for an answer to this question, perhaps
the easiest way to find an answer is to simply ask.

I was quite pleased to see that the new JAXM implementation is based on
dom4j.  I'm currently looking at working on a project where I would make use
of both JAXM and JAXB (binding) to send and receive instances of class
objects via HTTP.   I realize that although all my work is done with Java,
and RMI is certainly a possibility, I'm interested in experimenting with
SOAP, and JAXB as a self-learning process.

My idea is to have software that uses JAXM to send and receive SOAP
messages, extract the message body, and "unmarshall" the xml using JAXB to
convert it back into an instance of  Java class.

JAXB's unmarshalling methods require an InputStream (or XMLScanner, whatever
that is) to work.  So, I need to come up with a way to create an InputStream
from the SOAP message body document.  I was looking around for some kind of
"obvious" method associated with the SOAPElement, SOAPNode, etc.  classes
that allow you to "get" an InputStream from say, the root node, but I didn't
see one.

What would be the most efficient way to pull this off in dom4j (and
therefore, I assume JAXM)?

Rob


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to