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 processAll partnerlink errors will go to the fault handling framwork, and if rethrown, will be caught by either the remote or binding fault catch branch.
0 comments:
Post a Comment