Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Issue facing which signing an xml document.

$
0
0

Hi Experts,

 

Need an urgent help regarding an issue we are facing in one of our projects.

 

we need to sign the document on header level before posting to third party.

 

we are getting output as below

 

     <ds:Reference URI="#id-***********************">

      <ds:Transforms>

      <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>

      </ds:Transforms>

      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>

      <ds:DigestValue>*****************************</ds:DigestValue>

     </ds:Reference>

 

but expected output is mentioned below:

 

<ds:Reference URI="#id-***********************"">

   <ds:Transforms>

   <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#">

      <ec:InclusiveNamespaces PrefixList="urn urn1" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>

      </ds:Transform>

      </ds:Transforms>

      <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>

      <ds:DigestValue>*******************************</ds:DigestValue>

</ds:Reference>

 

 

we are expecting the <ec:InclusiveNamespaces PrefixList="urn urn1" xmlns:ec="http://www.w3.org/2001/10/xml-exc-c14n#"/>

section in the xml.

 

Please could you please help resolving this.

tr,

Praveen T


Viewing all articles
Browse latest Browse all 6719

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>