O'Reilly logo

Oracle SOA Suite 11g R1 Developer's Guide by Antony Reynolds, Matt Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Handling business faults in Mediators

Handling business faults within Mediators is a lot simpler than in BPEL. This is due to the role it plays within a composite. It's primary role (as covered in Chapter 10, oBay Introduction) is to act as a proxy to the composite, which means that it is responsible for receiving all incoming messages for a composite, validating and optionally transforming them before routing them to the appropriate component within the composite, and then routing any response back to the initial caller.

A business fault, by our definition, is just another valid response that can be returned by a component. Therefore, the role of the Mediator is to transform that fault from a component-specific one to one defined in the WSDL ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required