Release Notes
Abstract
The callAsync Business Process Choreographer API is used to call long-running processes. When a modeled business fault occurs and is returned to the caller, you receive an exception.
Content
Symptom
The following exception is seen instead of the modeled fault:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<a:callbackAsyncProcessFault
xmlns:a="http://www.ibm.com/xmlns/prod/websphere/business-proces
s/callback-services/7.0"
xmlns:b="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:c="http://www.ibm.com/xmlns/prod/websphere/bpc-common/type
s/7.0">
<processFault>
<faultStack>
<message>CWWBA0010E: Unexpected exception during
execution.</message>
<messageKey>Api.UnexpectedFailure</messageKey>
<timestamp>2018-12-05T08:52:28.000Z</timestamp>
<endOfV7000/>
</faultStack>
</processFault>
</a:callbackAsyncProcessFault>
</soapenv:Body>
</soapenv:Envelope>
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<a:callbackAsyncProcessFault
xmlns:a="http://www.ibm.com/xmlns/prod/websphere/business-proces
s/callback-services/7.0"
xmlns:b="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:c="http://www.ibm.com/xmlns/prod/websphere/bpc-common/type
s/7.0">
<processFault>
<faultStack>
<message>CWWBA0010E: Unexpected exception during
execution.</message>
<messageKey>Api.UnexpectedFailure</messageKey>
<timestamp>2018-12-05T08:52:28.000Z</timestamp>
<endOfV7000/>
</faultStack>
</processFault>
</a:callbackAsyncProcessFault>
</soapenv:Body>
</soapenv:Envelope>
Note: The underlying error of that Api.UnexpectedFailure is a NullPointerException in com.ibm.bpe.util.BPCJAXWSConverter.getBusinessFaultType.
Cause
This issue occurs when a long-running process is called by using the Webservice API instead of by using an SCA export.
Resolving The Problem
The recommended way to call a long-running BPEL process is by creating an SCA export with a web service binding and by wiring the process to this binding.
The Business Flow Manager Webservice API callAsync should not be used to invoke long-running processes.
[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"ARM Category":[{"code":"a8m50000000CcVKAA0","label":"Advanced Content\/ SCA-\u003EBPC (Business Process Choreographer)"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"21.0.2;21.0.3;19.0.0.3;20.0.0.1;20.0.0.2"}]
Was this topic helpful?
Document Information
Modified date:
17 December 2021
UID
ibm11117713