cancel
Showing results for 
Search instead for 
Did you mean: 

Synchrone communication

Former Member
0 Kudos

Hi,

i want to implement the following scenario:

i have a synchrone outbound interface(expose as XI webservice). When i receive a message from the sending application, i want to return immediatly a OK status and then start a BPM to process the message.

Is this possible?

Kind regards,

Peter Ha

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Sure,

you just need to put a receive step

at the beggining of your BPM

if you want to return the message synchronously use

can use <b>syn-async bridge</b> like described over here:

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

to do something asynchronously inside your BPM

and then return the message synchronously againg

with the send step that closes the brigde

Regards,

michal

Former Member
0 Kudos

Michal,

i have to give an OK status(message) immediatly back to the sender before i start processing the message. What i understand from the syn-async bridge is that you have to finish the whole BPM before you can send the response back to the sender.

Can i start a syn-async bridge in which i can send a synchronous response to the sender and then start the rest of the process?

The reason for this prblem is that the sender application cannot handle asynchronous soap call, it must receive a response from our webservice.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Can i start a syn-async bridge in which i can send a synchronous response to the sender and then start the rest of the process?

yes:)

BPM:

1. receive step: open sync async brdge

2. send step: close this brigde - send response OK synchronously

3. then anything else

transformations, send steps etc

or.... you can even start another BPM from here:)

Regards,

michal

Former Member
0 Kudos

Michal,

thanks!!

Answers (0)