REST Adapter Returning Empty String Instead Of Null After Upgrade To 12.2.1.3

(Doc ID 2390094.1)

Last updated on APRIL 23, 2018

Applies to:

Oracle Service Bus - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version, OSB Core Functionality

REST Adapter returning empty string instead of null after upgrade to 12.2.1.3

Users have recently upgrade to OSB 12.2.1.3 from 12.1.3. After upgrade, REST Services started returning "" (empty string) for "xsd:dateTime" elements instead of "null". It's causing errors in consumers applications once string cannot be cast to date value.

In earlier version 12.1.3, "xsd:dateTime" element was returning null.

Changes

 

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