You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is it possible to manipulate the "response-wrapper" as a JSON-like parameter?

Received Response
112
Views
3
Comments

Hi,

I am currently developing a JavaScript function that involves integrating two APIs using Oracle Integration Cloud (OIC). In this process, I retrieve two JSON objects through calls to these APIs. My task is to rearrange these objects based on their identifiers (ID) and then compare the quantities to ensure they match. If they do, I generate a new JSON with the necessary information and encode it in base64 for further processing in OIC.

The reason behind this approach is to optimize and simplify the data flow. However, I have noticed that the JSON objects are not sent as expected in the response-wrapper, as printing this value only displays the object values. I have tried searching for a solution without success. Additionally, I have found only one function for parsing XML (I don't know if it is possible to parse response-wrapper to XML and send in js and I would take care of the rest.), which has added to the complexity of my search for solutions.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!