cancel
Showing results for 
Search instead for 
Did you mean: 

Sync - Async Bridge example

Former Member
0 Kudos

Hello,

Pls provide Sync - Async Bridge example document.

Regards

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member335553
Active Contributor
0 Kudos

HI

Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages

Refer this blog

/people/ravikumar.allampallam/blog/2005/02/17/bridging-the-sync-async-bridge-with-fork-xi

/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi

There is an example of the Sync/Async Bridge in th SWCV: SAP BASIS.

Namespace: http://sap.com/xi/XI/System/Patterns

The Integration Server receives synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.

As soon as a synchronous message is received from the sender system the process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.

The BPE receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.

This blog also should give you some idea...

https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

Also go through these links:

http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf

Former Member
0 Kudos

ok it means we will receive Sync Interface from Sender system to BPM

We will use Async Interface to send that req message from BPM to Receiver System.

We will use Async Interface to send response message from Rec System to BPM.

So response message will reach to BPM

Then how the message will go to Client and why Correlation required in BPM

Regards

former_member335553
Active Contributor
0 Kudos

Hi

We use corelation to join messages that belong tothe same process instance ie to join messages which has the samevalue for one /more XMl elements.

get a better idea of what a correlation means from this blog

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

Former Member
0 Kudos

ok it means we will receive Sync Interface from Sender system to BPM

We will use Async Interface to send that req message from BPM to Receiver System.

We will use Async Interface to send response message from Rec System to BPM.

So response message will reach to BPM

Is the above process correct

Regards

former_member335553
Active Contributor
0 Kudos

Hi

u are through this is the briefing for the bridge

SyncReceive – To Receive the payload synchronously from HTTPRequestInt interface

syncSend – To Send the request payload Asynchronously from BPM to the File system

syncReceive – To receive the response payload Asynchronously from Legacy File system to BPM

SyncSend – To Send the response Synchronously from BPM to LegacySystem