27. Which categories of faults are supported by a BPEL process in SOA Suite 11g?
(Choose all correct answers)
Integration
Monitoring
Runtime
Business
Correct: A BPEL process in SOA Suite supports the Business and Runtime fault categories.
Go to HOME_PAGE
Subscribe to:
Post Comments (Atom)
1 comment:
Introduction to Categories of BPEL Faults
A BPEL fault has a fault name called a Qname (name qualified with a namespace) and
a possible messageType. There are two categories of BPEL faults:
■ Business faults
■ Runtime faults
11.3.1 Business Faults
Business faults are application-specific faults that are generated when there is a
problem with the information being processed (for example, when a social security
number is not found in the database). A business fault occurs when an application
executes a throw activity or when an invoke activity receives a fault as a response. The
fault name of a business fault is specified by the BPEL process service component. The
messageType, if applicable, is defined in the WSDL. A business fault can be caught
with a faultHandler using the faultName and a faultVariable.
11.3.2 Runtime Faults
Runtime faults are the result of problems within the running of the BPEL process
service component or web service (for example, data cannot be copied properly
because the variable name is incorrect). These faults are not user-defined, and are
thrown by the system. They are generated if the process tries to use a value incorrectly,
a logic error occurs (such as an endless loop), a Simple Object Access Protocol (SOAP)
fault occurs in a SOAP call, an exception is thrown by the server, and so on.
Several runtime faults are automatically provided. These faults are included in the
http://schemas.oracle.com/bpel/extension namespace. These faults are
associated with the messageType RuntimeFaultMessage. The WSDL file shown in
Example 11–2 defines the messageType:
Post a Comment