Use Case: Sometimes we come to situation where we get a source json file from source system and may need to send the json as string to target system.
Source Json:
{
"firstname": "srinanda",
"lastname":"das"
}
Target Json as string:
{
"data": "{\n \"firstname\" : \"srinanda\",\n \"lastname\" : \"das\'\n}"
}
Opaque.xsd:
<?xml version='1.0' encoding='UTF-8'?>
<schema targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/opaque/" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="opaqueElement" type="base64Binary"/>
</schema>
Implementation steps:,
Step1: Rest trigger configure with request and response
No comments:
Post a Comment