My client has some SAP service, which I need to call. I have pre-generated proxy classes, everything works fine (when security disabled on their side), now I need to enable their security policy. They gave me this as "specification":
- SOAP 1.1
- SSL
- WS-Security signature only, encryption optional...
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0.pdf
SAP statment for their service:
Message Format for XML Signature
SOAP messages must include the following data:
a) BinarySecurityToken with ValueType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" and EncodingType "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"
b) Timestamp element
c) Signature signing Timestamp and Body, referencing the BinarySecurityToken using a direct reference.
d) Digest algorithm is http://www.w3.org/2000/09/xmldsig#sha1
e) Signature algorithm is http://www.w3.org/2000/09/xmldsig#rsa-sha1
Is this enough information for me to get this working? I am not expert in WCF security, so I would be very happy for any help and useful resources.