SAP Knowledge Base Article - Preview

3707576 - Missing Reference URI in XML Digital Signature (Enveloped Signature) in SAP Integration Suite

Symptom

  • You are using the XML Digital Signer adapter in SAP Cloud Integration (SAP Integration Suite) to sign an XML payload.

  • The requirement dictates that the Reference URI in the <ds:Reference> tag must point to a specific element ID (e.g., URI="#voucher").

  • However, the output signature currently generates an empty Reference URI (URI=""), which signifies that the entire document is signed, or the targeted element is not being correctly referenced.

  • When attempting to fix this by adding the CamelXmlSignatureContentReferenceUri header, the processing fails with the following error: javax.xml.crypto.dsig.XMLSignatureException: ... ResourceResolverException: Cannot resolve element with ID [ID_Value]


Read more...

Environment

SAP Integration Suite

Product

SAP Integration Suite 1.0

Keywords

XML Digital Signature, XML Signer, Cannot resolve element with ID, ResourceResolverException, Reference URI, CamelXmlSignatureContentReferenceUri, CamelXmlSignatureSchemaResourceUri, Enveloped Signature , KBA , LOD-HCI-PI-CON-SOAP , SOAP Adapter , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.