Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

8. Exception Management > Faulting the process

Faulting the process

Deploy the process, following the deployment methods in Chapter 3, Process Deployment and Testing.

Now that you have implemented exception handling for the business and system exception points, it's time to test whether they are working.

  • When process token reaches the task ValidateStock, which calls StockValidator_EBS, StockValidator_EBS will raise a SOPFault business exception, if stock is not available.
  • When process token reaches the ValidateStock service task and invokes the StockValidator_EBS service, if the service throws binding/remote fault, it gets propagated as no boundary catch events are defined. For this component, Fault Policies are defined, and hence the Fault Policy framework will handle the exception. You have defined in fault-policy.xml that, on infusion of binding or remote fault, you will just terminate the process. Thus, on error, this process will get terminated.

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint