We have implemented fault policy in SOA 11g at process level for the entire composite and it is working fine. In case of a remote fault for any invoke it retries 3 times and then if the error still exist then it will go to manual recovery. As this is applied at process level all invokes within that composite will go to fault policy in case of remote fault.
But we have a scenario where we want to retry only for a particular parterlink in BPEL and not the other invokes/parterlink inside the composite.We have tried a few ways to achieve it but none of them are working . Can someone please help us in resolving this issue... Any help in resolving this is really appreciated.
Things we tried :
1. In the composite.xml we tried to put the fault policy property inside the reference tag for which we want to retry
2. We also tried to put this property inside the binding.ws tag of the same reference. But none of these options worked.
Is there some way like we use to do in SOA 10g by mentioning the parterlink name ?? We cannot put this property at process level as then it becomes applicable for all invokes in that composite.
Using the fault binding attach your fault policy to particular component. See example below.Use the tag <component faultPolicy="ServiceFaults">
<?xml version="1.0" encoding="UTF-8"?>
<!-- Below listed component names use polic CRM_SeriveFaults -->
<!-- Below listed reference names and port types use polic CRM_ServiceFaults