Custom Search SOABYTE here

Friday, June 25, 2010

Using specific catch or catchAll branch

According to the AIA standards the following catching mechanism should be followed:
Use 2 catch branches, one each for binding fault and remote fault, and a catchall branch.
In binding and remote fault catch branches, reply with the fault message.  

All partnerlink errors will go to the fault handling framwork, and if rethrown, will be caught by either the remote or binding fault catch branch.
In catchAll branch: for asynchronous processes, invoke the AIAAsyncErrorHandlingBPELProcess and then reply the fault message. This catchAll branch will catch all non-partnerlink errors. For synchronous processes, you can just reply the fault message. This will be caught as partner-link erron in the called process


Post a Comment

Blogger Profile