I am trying to implement a scenario in which I have to invoke a third party soap service from BPEL invoke activity
. If backend service returns "SUCCESS
" then continue the sequence else if service returns "FAIL
" then retry on invoke activity until "SUCCESS
" is returned.
I am unable to implement this scenario. Can any BPEL expert help me out?
Asked
Active
Viewed 349 times
0

Waqas Ali Razzaq
- 659
- 1
- 5
- 30
-
Hi, IMO you should delegate this kind os logic to an integration layer.In practical terms, this means that your process logic which runs in the BPEL engine should not call directly an end point, but should instead route all calls to an ESB, where you can handle this kind of scenario easily (eg: use a "retry endpoint") – Philippe Sevestre Mar 26 '16 at 15:17
1 Answers
0
Sorry for the late answer. You can just use a loop and check for the response and retry.

vinod
- 151
- 7
-
Could you perhaps add some example code to further your answer? It makes it easier for future users to see the code you suggested in the context provided. – Frits Sep 02 '16 at 10:37