Freitag, 28. September 2012
Fault Management Framework - Part 2
Structure of a fault-bindings.xml file
The fault policy bindings file fault-bindings.xml, which is located in the same directory, binds the policies of the fault policy file with
· The SOA composite application
· The BPEL processes and Oracle Mediator components
· The reference binding components for BPEL processes and Oracle Mediator Service components
<faultPolicyBindings>
<composite>
<component>
<name>
<reference>
<name>
<portType>
The framework identifies the fault policy bindings in the following order:
· Reference Binding Component
· BPEL Process or Oracle Mediator Service Component
· SOA Composite Application
If no condition is found during evaluation, the execution checks the next level.
Example of fault-bindings.xml file
This example associates the fault policy with the composite application
<?xml version="1.0" encoding="UTF-8" ?>
<faultPolicyBindings version="2.0.2"
xmlns="http://schemas.oracle.com/bpel/faultpolicy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<composite faultPolicy="ApplicationProcessingFaults"/>
</faultPolicyBindings>
Another example with definitions for BPEL / Mediator Components and definitions for references of an external service
<?xml version="1.0" encoding="UTF-8"?>
<faultPolicyBindings version="2.0.2"
xmlns="http://schemas.oracle.com/bpel/faultpolicy"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<composite faultPolicy="Connection_Faults"/>
<component faultPolicy="Service_Faults">
<name>Komponente1</name>
</component>
<reference faultPolicy="Service_Faults">
<name>Service1</name>
<name>Reference2</name>
<portType xmlns:credit="http://xxxxxxx">xxxxxxService</portType>
<portType xmlns:db="http://xmlns.oracle.com/pcbpel/adapter/db/insert/">db:insert_plt</portType>
</reference>
<reference faultPolicy="test1">
<name>name3</name>
</reference>
</faultPolicyBindings>
Part 3 will follow...
Abonnieren
Kommentare zum Post (Atom)
Keine Kommentare:
Kommentar veröffentlichen