Skip to Content
Author's profile photo Former Member

IDoc to SOAP scenario using Certificates to create an Asynch-Synch Bridge: Part II

Please also read: IDoc to SOAP scenario using Certificates to create an Asynch-Synch Bridge: Part I

IDoc to SOAP scenario using Certificates to create an Asynch-Synch Bridge: Part I

Creating Sender IDoc Communication Channel which is the important part of scenario.

When we are using the Request Response Bean and Response One Way bean for IDoc adapter we also has to apply the following patches as suggested by SAP.

We also need to apply SAP note 1964506 for this scenario to work.

The following patches were applied.


Configuration Scenario Objects: Create Integrated Configuration (ICo)


SOAP receiver communication channel

Select “Do Not Use SOAP Envelope” as we are creating custom SOAP envelope using XSLT mapping.


The Soap Action can be found in the WSDL provided to us.

Configuring the modules in SOAP Communication Channel

Message transformation Bean is set based on the result SOAP UI screen. See Content-Type in the SOAP UI screenshot of the previous blog(Part I).


Response Mapping in ESR

We have to write an XSLT mapping to remove the SOAP envelop in the response message.

After removing the SOAP envelope from the response mapping we have to map the response structure with ALEAUD Idocs. So we can see there are 2 levels of mapping: XSLT and Graphical.

XSLT Mapping

<?xml version=”1.0″ encoding=”UTF-8″?>

<ns0:stylesheet version=”1.0″ xmlns:a=”https://XXXXXXXXXXX.csu.local/CurrencyWSSoap1/Currency_Tool_Web_Service/


<ns0:stylesheet version=”1.0″ xmlns:a=”” xmlns:i=”” xmlns:o=”
xmlns:s=”” xmlns:u=”
xmlns:ns0=”” xmlns:ns1=”“>

<ns0:output method=”xml” version=”1.0″ encoding=”UTF-8″ indent=”yes”/>

<ns0:template match=”/”>

<ns0:copy-of select=”s:Envelope/s:Body/ns1:loadCurrencyResponse”/>



Map the response mapping using Graphical Mapping with ALEAUD IDoc structure.

Receiver IDoc channel

This Receiver Idoc communication channel is used to pass the inbound ALEAUD IDocs to SAP ECC.


Apply the Control Records from “Advance Options” manually as they change we move from Dev,QA and PRD systems.

These steps completes our scenario 😎

Testing the Scenario:

Adapter Engine message logs shows a successfully request and response mapping.


Request Message Log:


Response Message Log:



1. Messages going to status “Cancelled With Error”

Failed to get the input stream from socket

Reason: This exception is returned when there is issue with SSL certificate.

Resolution: Reload the certificate in NWA.

2. Messages going to status “Cancelled With Error”

SOAP:Response message contains error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION – HTTP 500 Internal Server Error

Reason: This exception is returned when there is issue with SOAP Action in the receiver SOAP communication channel.

Resolution: Recheck the SOAP action used in the WSDL and use the same in SOAP communication channel.

Thanks for reading. Kindly request you to share you feedback and comment 🙂

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Azhar Shaikh
      Azhar Shaikh

      Hi Sudhansukumar,

      Very well step-by-step explanation...Thanks for sharing 🙂


      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks for your feedback Azhar!



      Author's profile photo Manikandan Shanmugam
      Manikandan Shanmugam

      Hi Sudansu,

      The Blog is so informative and explained well.