on 04-19-2015 7:31 PM
I wonder if someone could enlighten me as to the best way of implementing the following scenario on PI/PO 7.4 (i.e. Java only stack) so no ccBPM.
The scenario is we are trying to get a list of products and we have 2 web service enabled systems that can supply this. We check System 1 first and if that doesn't give us a list of products then, and only then, we check system 2. In sequence this would be:
1. Sender Web service -> Receiver Web service 1 to get a list of products.
2. Receiver webservice 1 either returns a fault response or one of it's response fields = 0 (i.e. 0 products)
3. Because we had a fault or 0 products we call Receiver Webservice 2 to get a list of products
4. Response be it a fault or a succesful response is sent back to the calling system.
One important point is all this needs to be synchronous.
Is this a classic case for BPM using gateway conditions? Is that the only way of achieving this or are there options?
Hope this makes sense.
Thanks in advance all!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, not a colleague of mine but interesting it's a similar scenario. I could also have the issue where System 1 is down....or simply that System 1 hasn't been updated with the right info so in both cases I need to check system 2.
BPM feels like the right way to go, so I'll check the links and your blog and see if it fits.
I'll make sure to update the question when I'm done.
Thanks alot Eng!
Hi Peter,
You can consider to do a SOAP lookup in your scenario response
If your scenario is not a synchronous one, you can do a SOAP lookup in your the request mapping with your first scenario and depending the output determine your second WS or a dummy scenario.
Also, this control could be achieve with the the sender system and depending of the first call, do or not do the second call.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.