My Oracle Support Banner

Issue In Converting Array Element From JSON To XML Format Using Rest Adapter (Doc ID 2651782.1)

Last updated on AUGUST 12, 2024

Applies to:

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

Goal

On : 12.1.3.0.0 version, Technology Adapters

Issue in converting array element from JSON To XML format using Rest Adapter


For Example:

JSON Format:

{
"transactionId":"12354",
"errors":[
{
"code":"1062",
"title":"Level 1 Validation Failed",
"detail":"1062-D -> ",
"source":""
},
{
"code":"1070",
"title":"Level 1 Validation Failed",
"detail":"1070-N-> null",
"source":""
},
{
"code":"1070",
"title":"Level 1 Validation Failed",
"detail":"1070-N-> null",
"source":""
},
{
"code":"1070",
"title":"Level 1 Validation Failed",
"detail":"1070-N-> null",
"source":""
}
]
}

Generated XML is not as per schema.
 

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.