cancel
Showing results for 
Search instead for 
Did you mean: 

Async/sync bridge

Former Member
0 Kudos

Hello

I believe that sync/async bridge BPM is used to assist communication between sync sender and async receiver.

I am just confused in understanding, what would be the return from BPM when sync sender is sending something and expecting something.

PRANAV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pranav,

This is my way at looking at a sync-async Bridge..

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

The central component of sync/async communication is the sync/async bridge, which enables the Integration Server to receive 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.

To do this, you define an integration process, which is started 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 Business Process Engine 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.

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

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

Go through this link to get a good idea as to how to <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm">Define Sync/Async Communication</a>

This blog also should give you some idea...

https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [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

Regards,

Abhy Thomas

Former Member
0 Kudos

Thanks Prabhu, Abhy and Chandra for your valuable answers.

I got something out from Prabhu for my answer...

I would appreciate if you could clear my doubt in this case...

e.g

SOAP is sending employee data and expecting back employee number...

and for that provided general WSDL, created by webservice and we are using that webservice to call some legacy system supporting async msg communication.

Asyn target system would get the employee data but would not send anything back, it now BPM responsibility to send back the data in response to the webservice.

From where BPM would get the employee number from ?????!!!!!!!!!!!!!!

Thanks.

Pran

prabhu_s2
Active Contributor
0 Kudos

in this case what is ur target system that takes the emp data?

Former Member
0 Kudos

Prabhu,

M just trying to understand the sync/async concept.

When async would not send anything back, what XI send back to sync sender?

For a time being, i could say that its JMS , which supports asyc communication :).

Pran....

prabhu_s2
Active Contributor
0 Kudos

hope it will be an empty meesage if no data is filled in the response MT and again it goes for an erro based on the MT definition ...i.e. if any fields are declared as >1 and if no data is passed to it then the process will go 4 an error

Answers (2)

Answers (2)

prabhu_s2
Active Contributor
0 Kudos

<i>>>>. what would be the return from BPM when sync sender is sending something and expecting something.</i>

the return will be the data set in the format that is designed for response message strucutre. for instance u have a send sync step that sends a message to a proxy and say after a successful hit the acknow data set needs to be returned. in this case u will have a message type defined for sending the data and another MT that will hold the return message. this u will be defining in Message interface step

Former Member
0 Kudos

HI,

See the below links

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

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM

Regards

Chilla

Former Member
0 Kudos

Thanks Chandra for your response,

I have already gone through the weblogs you have mentioned.

But still my question is at same stage.

when i consider the first link you sent me , there is data type showing the response structure , from where the data would be put in that fields and how???

in short what type of reponse XI sends to Sync sender?

Thanks,

PRANAV

Message was edited by:

pranav .

Former Member
0 Kudos

HI,

in that blog itsefl explained that create the response type and map it see below

- FileResponsetoBPM

Purpose - Used to send the Async response information from File system (File sender adapter) to BPM

Mode - Outbound Asynchronous

also see the below link

Asyn - Synch BPM - /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19

Regards

Chilla

<i>reward points if it is helpful..</i>