on 04-28-2015 8:32 AM
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.