This blog outlines the situation where idoc acknowledgement status needs to be updated when the receiver is a webservice and is called using the SOAP adapter.
IDoc AAE communication channel was used on the sender
Asynchronous Scenario
In case if only system acknowledgement is required from an asynchronous scenario of posting to a webservice then the following parameters need to be checked and updated :
1) Ensure that the persistence flag of the Java IDoc adapter is enabled in NWA.
2) The following parameter needs to be set in SOAP receiver communication channel.
Synchronous Scenario
In some cases we have a requirement of updating the
This scenario basically shows the usage of RequestResponseBean where the response can be used to trigger a separate scenario. This was to enable tracking of the application acknowledgement message returned from the web service from idoc status tracking in ECC.The application message returned from the receiver sent back the original idoc number which was used to create an ALEAUD idoc to post into ECC.
For this purpose two scenarios were created – Scenario 1 triggering Scenario 2.
Scenario 1 : IDoc to SOAP Webservice request call
Scenario 2 : SOAP Webservice response mapped to ALEAUD
Scenario 1:
1) Create the first scenario in the standard asynchronous way with mapping and ID objects.
2) The only difference would be the receiver communication channel with RequestResponseBean adapter module as shown in the screenshot below.
3) This configuration will post the response to the Scenario 2 . The scenario 2 should be configured as follows :
Sender Communication Component – Receiver Business System of Scenario 1
Sender Service and namespace– by default this would be receiver interface of Scenario 1.
This is over ridden here by the parameter replaceInterface in the receiver communication channel of Scenario 1 as shown in the screenshot above to match the sender interface and namespace of Scenario 2.
Scenario 2:
In case if the webservice returns standard fault messages and the requirement is to capture the same approach can be applied
using the following parameters in receiver communication channel of Scenario 1.
Handling of a similar scenario in a different approach was found in the link below – adding here for reference
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
9 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |