My Oracle Support Banner

After Conversion of XML to JSON, Bracket Characters '[' And ']' Missing (Doc ID 2231967.1)

Last updated on AUGUST 01, 2018

Applies to:

Oracle SOA Suite - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Goal

We need to send via HTTP POST using JSON format, which contains the characters '[' and ']', sample below:

{
"code": "string",
"crieriat": "string",
"date": "string",
"pieces": [
{
"code": 0,
"name": "string",
"top": "string",
"type": "string"
}]
}


Upon triggering the service, JSON Request message doesn't contain the characters '[' and ']'. This generated an invalid schema error as the target system is expecting these special characters.

What configuration is necessary to retain these characters in the JSON request?
 

Solution

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
Goal
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.