Hallo,
We have scenario sending messages from SAP PI to SAP ECC by using SOAP 1.1 message protocol and WS (message signing). Due to some circumstances we can't use XI protocol. Everything work ok.... SAP PI get message sign it and send to SAP ECC, where the signature is validated. However if the body parts contain some characters, for example “>” the DigestValue calculated by SAP ECC is different from value the DigestValue delivered in SOAP Header (calculated by SAP PI) and the proces singanture validation fail.
I observed, that character “>” is replaced by escape character & g t ; in object what keep DigestValue but not sure if this is the reason.
Both systems are on Unicode, SAP PI is 7.10, SAP ECC have the same behavior on various versions (from 700 up 731).
Does anyone have idea how to correct this (canonicalizaton, or hash calculating process) ?
Some additional info:
ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"
ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1
ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"
ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"
Thanks, Martin.