Handling faults within the Service Bus
Before we look at how to handle faults inside a proxy service, it's worth taking a step back to revisit our SOA Architecture and the purpose of the virtual service layer.
Essentially, this layer provides a proxy service based on our canonical model, which is responsible for routing requests to the appropriate application service. In this process, it will validate and transform the input message into the one expected by the application service and vice versa for the response.
Within our proxy service, an error can occur at the validate stage (as discussed in the previous chapter, Chapter 13, Building Validation into Services), in which case the proxy service needs to generate and return an appropriate fault ...
Get Oracle SOA Suite 11g R1 Developer's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.