cancel
Showing results for 
Search instead for 
Did you mean: 

Sync Asyn Bridge - SOAP to SOAP Scenario

Former Member
0 Kudos

Hi All,

We are trying to implement Sync Async Bridge for our SOAP to SOAP Scenario.

Background:

PI is receiving a Synchronous request from ISU and ISU waits for response to move with its next step.

In our case, after the request enters PI, PI is triggering the BPM which takes care of update of data in a third party system and to do other tasks, Hence the response for the Synchronous response waits till the end of the BPM process, by this time ISU faces time out issue and cannot move to next step.

Implementation:

To implement the Sync Async Bridge (which we think will help us avoid this issue), we referred to below blogs

http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/04/14/bridges-construction-site-23-sync...

But we are getting caught at the point where we need to decide about the Correlation ID, what can we use as CorrelationID in our case and how do we implement it?

Any advice on this will be helpful.

Thanks and Regards,

Neha Singh

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor

Hi Neha

What is the content required in the response to ISU? Can it just be dummy content, or does it require some data that is only available after the completion of the BPM process?

By the way, are you using NW BPM on PO or ccBPM on dual stack?

Rgds

Eng Swee

Former Member
0 Kudos

Hi Eng Swee,

Thanks a lot for your response. ISU requires proper data for completion, dummy data wont work and we are using NW BPM on PO.

Thanks and Regards,

Neha Singh

engswee
Active Contributor
0 Kudos

Neha

Is that data that is only available after the completion of the BPM process? If yes, I don't think the SA bridge will help resolve your timeout issue because you still have to wait for the BPM to complete before sending back a response.

Rgds

Eng Swee

Former Member
0 Kudos

Hi Eng Swee,

For now what we are doing is, we have following interfaces for Sync Asyn Bridge

1. OutSync

2. InSync

3. OutAsync

4. InAsync

We have following ICo's:

1. for OutSync, Receiver Interface as InSync || Channels: Sender SOAP and Receiver SOAP

2. for OutAsync, Receiver Interface as InAsync: || Channels: Sender SOAP and Receiver SOAP

The InSync Interface is used to trigger the BPM, after this step we are using Automated activity to trigger OutAsync Interface.

**The data that we need to send is not dependent on end of the BPM process, The details in the request message only need to be mapped to the response message along with the Status field hardcoded as SUCCESS.

Regards,

Neha Singh

engswee
Active Contributor
0 Kudos

Hi Neha


**The data that we need to send is not dependent on end of the BPM process, The details in the request message only need to be mapped to the response message along with the Status field hardcoded as SUCCESS.

If you return a response back to ISU with status SUCCESS before completion of BPM process, will it cause any inconsistencies if the BPM had errors after the response to ISU?

If the success status to ISU and the BPM completion status have to be consistent, then they are tightly coupled and you actually need to wait until the end of the BPM. If this is the case, increasing the timeout on the sync request from ISU might be your only option.

However if those two are not tightly coupled, then a SA bridge would help you. However, since you are already using a BPM process, I would suggest that you just implement the SA bridge within the BPM instead of going for the non-BPM SA bridge approach per the blogs you mentioned. It might be easier to correlate within the BPM.

Refer to the following blog for SA bridge - it covers both the BPM and module approach.

Rgds

Eng Swee

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Neham

You have to set the correlationID with adapter rmodules that they dependsof the async adapter chosen.

For example in a SOAP-FILE-SOAP, sync/async bridge you can check the page 26 in this document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f96dbf-adca-3010-ffb5-daf2d1f0e...

Regards.

Former Member
0 Kudos

Hi Inaki Vila,

Thanks for your response.

In the Blog that you mentioned, Filename (File Channel ASMA) is set based on the MessageID of the Request message and then that Message Id is set as CorrelationID in the Sender Channel.

In our scenario, because we have SOAP-SOAP-SOAP, which SOAP ASMA should I use where I can set the message ID and then use it to set the Correlation ID? Can XHeaderName1 be used, if yes, how do we implement it..i.e in terms of Dynamic Configuration Bean, how can the configuration be done?

Thanks and Regards,

Neha Singh