Jeff,

SOAPEnvelope -> Document there's no problem since there is a method getAsDocument.

However, converting a Document into a SOAPEnvelope is not trivial (since not all DOM objects are SOAP envelopes).

Greets,
C.

On 6/9/06, Jeff Greif <[EMAIL PROTECTED]> wrote:
Using saaj.jar that is distributed with all axis versions since (at
least) 1.2, the javax.xml.soap.SoapEnvelope class implements
SOAPElement which extends org.w3c.dom.Element.  It's not clear that
any conversion is necessary.

I believe older versions of the SAAJ classes (conforming to an older
version of the SOAP with Attachements spec) require conversion to Dom.

Jeff

On 6/9/06, Cristian Opincaru < [EMAIL PROTECTED]> wrote:
> Hi,
>
> I want to use WSS4J to do some encryption / decryption with SOAP and for
> this I have to convert the SOPA message in DOM (the WSS4J API does all
> processing with Document objects). After using the WSS4J routines, I must
> convert the message from Document back to SOAPEnvelope, and this is where my
> problems start.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Cristian OPINCARU
University of the Federal Armed Forces Munich
http://www.unibw.de/cristian.opincaru

Reply via email to