rss
SOATUBE
Oracle
Custom Search SOABYTE here

Monday, March 8, 2010

SOA Suite 11g - faulthandling

















I have updated my sample on faulthandling to show fault-policy usage and how to work with the standard runtime fault - all based on SOA Suite 11g. A few things to note:
a) I had to advertise fault-bindings / fault-policies.xml explicitly in composte.xml via

fault-policies.xml

  fault-bindings.xml 




b) My policy is bound to the MasterCatchRemoteFault process, this is configured in fault-bindings.xml through


     MasterCatchRemoteFault

 

c) The faultPolicy name matches to the id defined in fault-policies.xml. In there I am reacting to a fault that is thrown out of the detail process.


    

         name="custom:aCustomBusinessFault">

         

                <-- rethrow the fault -->

  

 

    


The full sample can be found here.

0 comments:

Post a Comment

 
Blogger Profile