I have been trying to sign a simple message for a while and I must be missing
something simple.  I have the code working fine without a signature.  I use
a ServiceClient.sendReceive(payload) and it works fine without trying to
sign anything.  "payload" is an OMElement.  

When I tried setting OutflowSecurity in my axis2_default.xml file, I can see
the signature in the debug log, but it's part of a document which has my
original document wrapped in an extra soap envelope and even though I see it
in the debug log, the document that gets sent is the original unsigned
document.

I have attempted to explicitly sign the payload in my code and haven't had
much more luck there.

Does anyone have a simple example of how to sign an XML document which is
stored as an OMElement?

Thanks!
-- 
View this message in context: 
http://old.nabble.com/Signing-a-message--tp30133371p30133371.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to