My Oracle Support Banner

Convert JSON Input Request To String In OIC (Doc ID 2505257.1)

Last updated on DECEMBER 03, 2022

Applies to:

Oracle Integration - Version 17.4.1 and later
Information in this document applies to any platform.

Goal

I have a REST connnection like trigger, I defined the JSON schema in the request configuration, and I wish catch the request (input JSON schema) and convert to a string for to send the request to a only tag expose by external a web service.
Example.
I receive the JSON:

Integration receives Rest input as Json format. For example as follows
{
"store":"<name>",
{[
"id":<id>,
"name:":"<name>"}]
}

I want send this JSON like a string to a tag exposed by the web service, example:

Is it possible to convert this JSON to a string and map it to a single tag of an XML

<test>

<input> {"store":"<name>",{["id":<id>,"name:":"<name>"}]}</input>

</test>

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.