cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Receivers one is sync, others async

Former Member
0 Kudos

Hi,

I have a scenario where sender is a third party system.

Sender system sends XML Payload using HTTP to XI.

This payload needs to be received by 3 receivers. 1. File, 2. Email and 3. RFC.

(i.e. Once XML Payload is received into XI, XML File needs to be created, Email needs to be sent with attached XML payload and RFC needs to be called.)

File and Email receivers are asynchronous but RFC needs to be called in synchronous mode and response from RFC is sent back to sender third party system.

Third Party (XML Payload, using HTTP) --> XI --> File, Email, RFC

RFC Response ---> XI --> Third party.

How to achieve this complete scenario? Do I need to use BPM for this? If yes, how do I configure it? Its a case of parallel multiple receivers out of which only one receiver sends response back to the calling system.

Thanks,

Smita

Accepted Solutions (0)

Answers (2)

Answers (2)

GabrielSagaya
Active Contributor
0 Kudos

You need to use bpm.

1. Http Sender sends request to XI.

2. XI converts it into XI Message.

3. BPM receives the request through synchronous interface.(Opens S/A Bridge)

4. BPM sends request to RFC through Synchronous interface and gets the response.

5. Response is sent back to Http Client.(Closes S/A Bridge)

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

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134http [original link is broken] [original link is broken] [original link is broken]://www.riyaz.net/blog/index.php/2008/04/16/a-step-by-step-guide-to-bpm-asynch-sync-bridge/

Former Member
0 Kudos

Hi Amit & Gabriel,

Thanks for your replies. They helped me lot. My problem is resolved now.

As per you mentioned, I create 1 receive step and 3 send steps. But, the send steps you mentioned differ from working solution. I created 1st send step for asynchronous receivers (File and email), 2nd send step for synchronous ERP receiver and 3rd step for closing sync-async bridge to send response back.

-Smita

Former Member
0 Kudos

one more thing.. I use one send step in BPM for both asynchronous receivers and configure these multiple receivers in Integration Directory.

Former Member
0 Kudos

Hi,

Yes, you need to use BPM in this case. You will be having

1. One Receive Step with Mode as Open S/A Bridge

2. Three Send Steps.(Two Async Send and one Sync Send with mode as Closes S/A Bridge)

Thanks

Amit

Reward points if suggestion is useful