Hi all,

 

I wish to create an XML Signature over the SOAP envelope and all attachments of a SOAPMessage (created using the SAAJ api).  The attachments could consist of a mix of XML documents and binary files.  The signature itself should be placed as an element within the SOAPHeader.  Thus, the signature will be a enveloped signature with respect to the SOAPPart, but a detached signature with respect to the attachments.

 

Can some kind soul please point me in the direction of some example code of how to create the signature?   In particular I would like to see how to point the signature to the attachments, and set up appropriate reference resolvers if need be.

 

Thanks in advance...

 

Steve

 

Reply via email to