'Do not generate empty nodes' Option Does Not Work For Optional Elements Of Type Long Or Int (Doc ID 834245.1)

Last updated on JANUARY 04, 2017

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.4
This problem can occur on any platform.

Symptoms

During transformation, specifying 'Do not generate empty nodes' option does not work for elements of type long or int and declared as optional (minOccurs=0).
The empty tags still get passed and as a result exception is thrown :

<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
<part name="code">
<code>Client</code> 
</part>
<part name="summary">
<summary>Caught exception while handling request:  
deserialization error: java.lang.NumberFormatException: For input string:""
</summary> 
</part>
<part name="detail">
<detail>null</detail> 
</part>
</remoteFault>

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms