Forum Stats

  • 3,759,869 Users
  • 2,251,608 Discussions
  • 7,870,847 Comments

Discussions

BPEL FaultHandlers not being invoked in SOA 12c

3345308
3345308 Member Posts: 11

Have added fault handlers to a bpel process,

<catch faultName="bpelx:remoteFault" faultVariable="RemoteFault">

And

<catchAll>

A soap fault is being returned by to an Invoke activity but the process is not invoking the fault handlers and continues to the next step. Bpel process fails in an Assign activity when it tries to copy a value from the response to the Invoke activity and return the following response

Response

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

                <env:Header>

                                <tracking:faultId xmlns:tracking="http://oracle.soa.tracking.core.TrackingProperty">180031</tracking:faultId>

                </env:Header>

                <env:Body>

                                <env:Fault>

                                                <faultcode>env:Server</faultcode>

                                                <faultstring/>

                                                <faultactor/>

                                                <detail>

                                                                <exception/>

                                                </detail>

                                </env:Fault>

                </env:Body>

</env:Envelope>

Managed to invoke the catchAll by adding assertion to the Invoke activity.

My question is why isn’t the <catch faultName="bpelx:remoteFault" faultVariable="RemoteFault"> being invoked?

«13

Answers