You want a synchronously calling business system BS-S and an asynchronously called business system BS-AS to communicate with each other. For this purpose you must define a sync/async bridge.
You can find the example in the Enterprise Services Repository under SAP Basis → SAP Basis <release number>, namespace http://sap.com/xi/XI/System/Patterns under BpmPatternSyncAsyncBridge.
Structure of Sync/Async Bridge
The following table outlines the steps of the sync/async bridge:
Step | Description |
---|---|
Receive step SyncReceive |
Receives the Request message from the synchronously calling business system BS-S and opens the sync/async bridge. The synchronous interface BpmPatternBridgeSyncIf receives the messages from the synchronously calling business system. The integration process is started when the message is received. The message type of the message to be received and the request message from the synchronous interface are identical. |
Send step AsyncSend |
Sends the received Request message asynchronously to the asynchronously called business system BS-AS. |
Receive step AsyncReceive |
Receives the Response message from the asynchronously called business system BS-AS. |
Send step SyncSend |
Sends the Response message from the asynchronously called business system BS-AS synchronously to the synchronously calling business system BS-S and closes the sync/async bridge. The message type of the message to be sent and that of the reply message from the synchronous interface in the opening receive step SyncReceive are identical. |
Definition of the Integration Process
The following graphic illustrates the definition of the integration process:
The integration process requires the following message interfaces:
The integration process uses this synchronous, abstract message interface to receive the message from the synchronous business system. This synchronous message interface is mapped to an asynchronous, abstract message interface by using the sync/async bridge.
The integration process uses this asynchronous, abstract message interface to send the message from the asynchronous business system.
The integration process uses this asynchronous, abstract message interface to receive the message from the asynchronous business system.
More Information: