You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
hello i have to write an application that sends requests using soap/xml to a web service. The company that hosts the web service requires to be digtally signed. They have sent me the example file <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext"> <wsse:BinarySecurityToken valueType="wsse:X509v3" encodingType="wsse:Base64Binary" id="X509Token"> MIIEZzCcA9cgwaABQfd86afd2g... </wsse:BinarySecurityToken> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod> Algorithm="http://www.w3.org/2001/10/xml-enc-c14n#"/> </ds:CanonicalizationMethod> <ds:SignatureMethod Algorithm=" http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI="#MsgBody"> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2001/10/xmlexc- c14n#"/> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>DJbchm5gk...</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue>LyLsF0pi4wPu...</ds:SignatureValue> <ds:KeyInfo> <wsse:SecurityTokenReference> <wsse:Reference URI="#X509Token"/> </wsse:SecurityTokenReference> </ds:KeyInfo> </ds:Signature> </wsse:Security> </soap:Header> <soap:Body id="MsgBody"> <mcr:MailboxCollectRequest xmlns:mcr="http://www.ros.ie/schemas/customs/collectrequest/v1"/> </soap:Body> </soap:Envelope
can someone tell me how i am supposed to digtally sign it and what the BinarySecurityToken is and worked out??