Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Working With Faults - How To Stop BPEL After A Fault Occurs

734084May 16 2011 — edited Feb 26 2020
Hi, all~

I'm a little confused... having spent time as a java programmer in a prior life, I tend to assume that, unless a try-catch is around a block of code, if an exception is encountered my code is going to stop processing at that point.

In SOA 11.1.1.4, I have a BPEL process that occasionally throws a binding exception when attempting to execute a stored procedure in an Oracle DB (I'll likely post a second thread about that).

The part that's odd to me is that the BPEL process continues processing after this fault occurs... so I'll get a fault from my "getData" stored procedure and then the BPEL process will carry on and attempt to publish the (null) data to the subscribing processes (which naturally results in additional errors).

...is this expected behavior? I would have thought a BPEL process would enter a faulted state (and stop) when a fault occurs, but maybe not...?

Thanks in advance,

- Nathan
This post has been answered by Neeraj Sehgal on May 16 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 10 2011
Added on May 16 2011
4 comments
201 views