Friday, July 17, 2015

#419 Process Cloud Service --> Error Handling / Instance Recovery

Here is my sample process -




















It call the web service validate credit card (ServiceTask: ValidateCC).

So what happens if this service is unavailable?

I check this out via the  Tracking tab -











   











Here is the actual error message -

I get a remoteFault thrown -

mary=oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "http://NN/CCWS/CreditCardServicePort" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 404 Not Found from url http://NN/CCWS/CreditCardServicePort
,detail=Unable to invoke endpoint URI "http://NN/CCWS/CreditCardServicePort" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 404 Not Found from url http://NN/CCWS/CreditCardServicePort
,code=404}
]]>

Now, the service is available again, so how do I recover?










Firstly, the red icon on the left indicates the instance is recoverable.

We then have the options - Abort, Retry, Change Variables and Recover.

I click Retry.

I check via the Tracking tab -









Simple stuff!

No comments: