Skip to Content
0
Apr 04, 2019 at 07:23 AM

SAP PI - send asynchronous notification on response message in synchronous scenario

1117 Views

Hello,

My requirement is to create typical synchronous SOAP to SOAP scenario with asynchronous notification on response message.

In simple words:

1. System A is sending request for information to system B.

2. System B sends synchronous response.

3. Some information from response message are send ASYNCHRONOUSLY to System C (for notification what is returned to System A). When System C is not available at moment of request that cannot block synchronous scenario.

4. Response is sent synchronously to System A.

I am trying to find solution to implement reusable component which can be used to asynchronously notify third system about the result of request.

I have seen the Lookup API, but that is designed to handle synchronous requests.

https://help.sap.com/doc/javadocs_nw73_sps05/7.3.5/en-US/PI/com/sap/aii/mapping/lookup/LookupService.html

"... The accessors support synchronous calls to the remote systems.

The Lookup API supports access via the JDBC, RFC, and SOAP adapter. If you want to execute a mapping lookup with a third party adapter, then the adapter must fulfil the following conditions:

- The adapter must support synchronous calls.

- The adapter must not use a Receiver Agreement..."

Any ideas?

Thanks a lot.