You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Bryan Field-Elliot <br...@netmeme.org> on 2005/05/12 07:27:27 UTC

WS-FX after signing, how to replace my response?

Using Axis and WS-FX, I have created a response in a SOAPEnvelope, and
then I use WS-FX to sign it:

SOAPEnvelope response = ......;

Document respDoc = (WSSignEnvelope)signer.build(response.getAsDocument
(), crypto);

What is the correct way to copy the respDoc (signed document) back into
the SOAPEnvelope? I seem to be having trouble getting this right,
without polluting the document and ruining the signature.

Help would be appreciated!

Thank you,

Bryan