It is done through validate activity from Oracle Extensions. The BPEL codes will look like the below:
<validate name="ValidateRequest"
variables="RetrieveResourceDetailsRequest"/>
When validation fails the standard fault bpel:invalidVaraible is thrown. So you need to catch this fault using the following codes:
<catch faultName="bpel:invalidVariables">
.... Some activities here
</catch>
I am trying to catch invalidVariable fault with Catch block of the validate activity scope. But it is instead going to CatchAll block
ReplyDelete