<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SOAP Adapter - Change Signature Algorithm in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917840#M4476925</link>
    <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;Your blog is very interesting.&lt;BR /&gt;I will see if I can apply this solution asap.&lt;/P&gt;&lt;P&gt;I also created a SAP Incident for this problem.&lt;BR /&gt;I think SAP has to handle SHA256 for Digest Algorithm, it's a W3.org recommendation.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Youri&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2019 09:33:23 GMT</pubDate>
    <dc:creator>YouriC</dc:creator>
    <dc:date>2019-06-14T09:33:23Z</dc:date>
    <item>
      <title>SOAP Adapter - Change Signature Algorithm</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaq-p/11917833</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;For one of my scenario, I have to change the Signature Algorithm in SOAP Adapter Receiver.&lt;/P&gt;
  &lt;P&gt;When I try to consume the Web Service, I receive this error :&lt;BR /&gt;SECU3518: Invalid digest algorithm 'http://www.w3.org/2000/09/xmldsig#sha1' used. Expecting 'http://www.w3.org/2001/04/xmlenc#sha256'&lt;/P&gt;
  &lt;P&gt;The problem has been confirmed by the Third Party (WS Provider).&lt;/P&gt;
  &lt;P&gt;I can not change/adapt the certificate.&lt;BR /&gt;He works perfectly with SOAPUI and this settings :&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1681664-capture.png" /&gt;&lt;/P&gt;
  &lt;P&gt;AXIS Adapter is maybe an Alternative but I need to know if it's possible with the SOAP Adapter.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;BR /&gt;Youri&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 15:49:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaq-p/11917833</guid>
      <dc:creator>YouriC</dc:creator>
      <dc:date>2019-05-08T15:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Adapter - Change Signature Algorithm</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917834#M4476919</link>
      <description>&lt;P&gt;Hi Youri,&lt;/P&gt;&lt;P&gt;You can use UDF in graphic mapper to generate &lt;B&gt;&lt;U&gt;x-amz-content-sha-256 header:&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;public String generateContentHashing(String payload) &lt;/P&gt;&lt;P&gt;{ &lt;/P&gt;&lt;P&gt;StringBuilder payloadSb = new StringBuilder(); &lt;/P&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;{ &lt;/P&gt;&lt;P&gt;MessageDigest md = MessageDigest.getInstance("SHA-256"); &lt;/P&gt;&lt;P&gt;byte[] hashPayloadInBytes = md.digest(payload.getBytes(StandardCharsets.UTF_8)); &lt;/P&gt;&lt;P&gt;for (byte b : hashPayloadInBytes) &lt;/P&gt;&lt;P&gt;{ &lt;/P&gt;&lt;P&gt;payloadSb.append(String.format("%02x", b)); &lt;/P&gt;&lt;P&gt;} &lt;/P&gt;&lt;P&gt;} catch (NoSuchAlgorithmException e) { &lt;/P&gt;&lt;P&gt;e.printStackTrace(); &lt;/P&gt;&lt;P&gt;} &lt;/P&gt;&lt;P&gt;return payloadSb.toString(); &lt;/P&gt;&lt;P&gt;} &lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 04:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917834#M4476919</guid>
      <dc:creator>former_member607993</dc:creator>
      <dc:date>2019-05-09T04:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Adapter - Change Signature Algorithm</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917835#M4476920</link>
      <description>&lt;P&gt;Hi Youri,&lt;/P&gt;&lt;P&gt;Did you try this.?&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 11:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917835#M4476920</guid>
      <dc:creator>former_member607993</dc:creator>
      <dc:date>2019-05-16T11:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Adapter - Change Signature Algorithm</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917836#M4476921</link>
      <description>&lt;P&gt;No, I don't try this approach.&lt;/P&gt;&lt;P&gt;I'm looking for a solution in the Integration Builder with the Communication Channel or Integrated Configuration settings.&lt;BR /&gt;Currently I try with the Axis Adapter but I have the same problem :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SECU3518: Invalid digest algorithm 'http://www.w3.org/2000/09/xmldsig#sha1' used. Expecting 'http://www.w3.org/2001/04/xmlenc#sha256'&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I found some informations in this note 688983, apparently SAP only uses SHA1 for Digest Algorithm ...&lt;/P&gt;&lt;P&gt;But in the W3.Org documentation : &lt;A href="https://www.w3.org/TR/xmlsec-algorithms/#digest-method-uris"&gt;https://www.w3.org/TR/xmlsec-algorithms/#digest-method-uris&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SHA-1 is the only digest algorithm defined in [&lt;CITE&gt;&lt;A href="https://www.w3.org/TR/xmlsec-algorithms/#bib-XMLDSIG-CORE"&gt;XMLDSIG-CORE&lt;/A&gt;&lt;/CITE&gt;] and is mandatory to implement in that specification and in [&lt;CITE&gt;&lt;A href="https://www.w3.org/TR/xmlsec-algorithms/#bib-XMLENC-CORE"&gt;XMLENC-CORE&lt;/A&gt;&lt;/CITE&gt;]. Use of SHA-1 is discouraged in [&lt;CITE&gt;&lt;A href="https://www.w3.org/TR/xmlsec-algorithms/#bib-XMLDSIG-CORE1"&gt;XMLDSIG-CORE1&lt;/A&gt;&lt;/CITE&gt;] and [&lt;CITE&gt;&lt;A href="https://www.w3.org/TR/xmlsec-algorithms/#bib-XMLENC-CORE1"&gt;XMLENC-CORE1&lt;/A&gt;&lt;/CITE&gt;] both of which mandate SHA-256 as mandatory to implement and offer a number of other optional SHA algorithms.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 07:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917836#M4476921</guid>
      <dc:creator>YouriC</dc:creator>
      <dc:date>2019-05-23T07:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Adapter - Change Signature Algorithm</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917837#M4476922</link>
      <description>&lt;P&gt;Hi Youri,&lt;/P&gt;&lt;P&gt;You can try with Java mapping.&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 07:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917837#M4476922</guid>
      <dc:creator>former_member607993</dc:creator>
      <dc:date>2019-05-23T07:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Adapter - Change Signature Algorithm</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917838#M4476923</link>
      <description>&lt;P&gt;Where to put the UDF ? On my XML root node in the Message Mapping ?&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 07:16:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917838#M4476923</guid>
      <dc:creator>YouriC</dc:creator>
      <dc:date>2019-05-23T07:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Adapter - Change Signature Algorithm</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917839#M4476924</link>
      <description>&lt;P&gt;Hi Youri,&lt;/P&gt;&lt;P&gt;Please refer the below link which may be help you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2019/05/31/integrating-amazon-simple-storage-service-amazon-s3-and-sap-ecc-v6.0-via-sap-pi-v7.5-using-aws-signature-v5-and-signing-algorithm-hmac-sha256/"&gt;https://blogs.sap.com/2019/05/31/integrating-amazon-simple-storage-service-amazon-s3-and-sap-ecc-v6.0-via-sap-pi-v7.5-using-aws-signature-v5-and-signing-algorithm-hmac-sha256/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 10:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917839#M4476924</guid>
      <dc:creator>former_member607993</dc:creator>
      <dc:date>2019-06-13T10:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Adapter - Change Signature Algorithm</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917840#M4476925</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;&lt;P&gt;Your blog is very interesting.&lt;BR /&gt;I will see if I can apply this solution asap.&lt;/P&gt;&lt;P&gt;I also created a SAP Incident for this problem.&lt;BR /&gt;I think SAP has to handle SHA256 for Digest Algorithm, it's a W3.org recommendation.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Youri&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 09:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917840#M4476925</guid>
      <dc:creator>YouriC</dc:creator>
      <dc:date>2019-06-14T09:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: SOAP Adapter - Change Signature Algorithm</title>
      <link>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917841#M4476926</link>
      <description>&lt;P&gt;Hi Youri,&lt;/P&gt;&lt;P&gt;Yes,please map the User defined function (&lt;EM&gt;which generates the Authorization header values dynamically&lt;/EM&gt;) to XML root node in the Message Mapping.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 06:46:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/soap-adapter-change-signature-algorithm/qaa-p/11917841#M4476926</guid>
      <dc:creator>former_member607993</dc:creator>
      <dc:date>2019-06-17T06:46:19Z</dc:date>
    </item>
  </channel>
</rss>

