Tuesday, February 2, 2010

SOA Fault Handling

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

  • Run-time faults

(1)Business faults: Business faults are application-specific faults that are generated when there is a problem with the information being processed

(2)Run-time faults: Run-time faults are the result of problems within the running of the BPEL process or Web service. Binding fault and remote Fault are the main types of run time faults


 targetNamespace="http://schemas.oracle.com/bpel/extension"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns="http://schemas.xmlsoap.org/wsdl/">

 
  
  
  
 

  1. bindingFault : A bindingFault is thrown inside an activity if the preparation of the invocation fails. For example, the WSDL of the process fails to load. A bindingFault is not retryable. This type of fault usually must be fixed by human intervention

  2. remoteFault : A remoteFault is also thrown inside an activity. It is thrown because the invocation fails. For example, a SOAP fault is returned by the remote service. A remoteFault can be configured to be retried

For More Information refer to: http://download.oracle.com/docs/cd/E11036_01/integrate.1013/b28981/faults.htm

No comments: