My Oracle Support Banner

Reply With Error Does Not Generate A Proper Fault Message (Doc ID 2275971.1)

Last updated on JUNE 12, 2017

Applies to:

Oracle Business Process Management Suite - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

In a synchronous BPM process when you try to reply with a custom fault message, the fault response is not populated with the information provided.
If you do the same but with a throw error, the message is generated properly.

As a comparison, in BPEL both ways, reply with error and throw, work without problems.

The problem is that BPM is not populating the fault detail information that is set before the response. The important information should be within the <detail> element at the end where all the fault detail information should come in XML format.

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<tracking:faultId xmlns:tracking="http://oracle.soa.tracking.core.TrackingProperty">80005</tracking:faultId>
</env:Header>
<env:Body>
<env:Fault xmlns:ns0="http://telefonica.com/cana/srv-nuc-CreateChannelsProposal-v3">
<faultcode>ns0:Error</faultcode>
<faultstring><![CDATA[faultName: {{http://telefonica.com/cana/srv-nuc-CreateChannelsProposal-v3}Error}
messageType: {{http://telefonica.com/cana/srv-nuc-CreateChannelsProposal-v3}FaultDetail_MSG}
parts: {{
errorInfo=<FaultDetail ...>
...
</FaultDetail>}]]></faultstring>
<faultactor/>
<detail>
<exception/>   <!-- This section here is empty. This is the problem -->
</detail>
</env:Fault>
</env:Body>
</env:Envelope>

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.