Issue With JSON Empty Array [] for Null Fields After Upgrade From 12.2.1.2 To 12.2.1.4
(Doc ID 2758947.1)
Last updated on JANUARY 08, 2024
Applies to:
Oracle Service Bus - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
On : 12.2.1.4.0 version, OSB Core Functionality
Issue with json after upgrade from 12.2.1.2 to 12.2.1.4
When we tested OSB standalone service in SB console upgraded version, we are sending as empty array [] for null fields but when we tested from external appliaction/SoapUI we could see null is passing as ["null"]. Which is causing issue at target system.
When tested standalone OSB service in console:
{"data":{"accountNumbers":[],"permissions":["A_AI"],"productCodes":["XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX"],"userId":"123456789"},"meta":{"serverVersion":"","appVersion":"","appId":"","channel":"","accessToken":"","connectionType":"","platform":"","deviceToken":""}}
When tested from SoapUI:
{"data":{"accountNumbers":["null"],"permissions":["A_AI"],"productCodes":["XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX","XXXXXX"],"userId":"123456789"},"meta":{"serverVersion":"","appVersion":"","appId":"","channel":"","accessToken":"","connectionType":"","platform":"","deviceToken":""}}
Changes
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 |
Changes |
Cause |
Solution |