Book Image

Oracle SOA Suite 11g Developer's Cookbook

By : Antony Reynolds, Matt Wright
Book Image

Oracle SOA Suite 11g Developer's Cookbook

By: Antony Reynolds, Matt Wright

Overview of this book

<p>As part of Oracle Fusion Middleware, the components of Oracle SOA Suite enable you to build, deploy and manage Service-Oriented Architectures (SOA), and can be used as the glue to integrate your applications whilst moving your enterprise towards a service oriented future. The recipes in "Oracle SOA Suite 11g Developer's Cookbook" will provide you with a solid foundation for your SOA Suite implementation ensuring its efficiency and reliability.<br /><br />Whether you're using SOA Suite as an integration tool or as the foundation of your Service Oriented Architecture, it is important to have a reliable implementation. "Oracle SOA Suite 11g Developer's Cookbook" will ensure you have the knowledge at your disposal to achieve that, through numerous tips and tricks for extending and enhancing your applications. <br /><br />"Oracle SOA Suite 11g Developer's Cookbook" equips you with invaluable information about SOA Suite development which can usually only be gained through bitter experience. The recipes in this book distill real world experience into an easily applicable form.<br /><br />Throughout the book you'll encounter high level issues, such as building a reliable SOA Suite cluster, and detailed development problems such as avoiding errors in BPEL assignment statements. Along the way you'll also learn about configuring identity providers and managing transaction boundaries.<br /><br />The recipes in this Cookbook will prove crucial for implementing your SOA Suite solutions.</p>
Table of Contents (21 chapters)
Oracle SOA Suite 11 Developer's Cookbook
Credits
About the Authors
Contributors
About the Reviewer
www.PacktPub.com
Preface
Index

Fault handling in dynamic Split-Join in OSB


Without appropriate Error-Handling logic, the first fault thrown by a service invocation within any one of the Split-Join's threads will re-raise in the Split-Join and halt the entire message flow.

In order to prevent this, Catch clauses need to be added to the scope of each thread as shown next.

How to do it...

  1. Right-click on the loop's scope and select Add Catch.

  2. Select the new Catch block, label it with the name of the fault you wish to catch and then review the Properties tab.

  3. Click on <Soap Fault Variable Name> and assign any name you like (the default is simply soapFault which should be fine).

  4. Repeat this step for each expected Soap Fault.

  5. Select Define Fault and enter the fault name and namespace of the fault you expect to catch.

  6. Drag in a new Scope below the Catch and add any mitigation actions as necessary to resolve the fault. It may be appropriate to do nothing. Simply log the error, or perhaps aggregate a default value into the total...