Thanks for sharing the code.
I studied SAAJ a bit more carefully, and it seems to allow you to create
a new SOAPElement from SOAPFactory. So what if you do:
SOAPElement parent =
SOAPFactory.newInstance().createElement("dummy");
marshaller.marshal( jaxbObject, new DOMResult(parent) );
return (SOAPElement)parent.getChildElements().next()
?
regards,
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net