How To Produce Output Without Escaped Characters In OIC?
(Doc ID 2491991.1)
Last updated on MAY 01, 2023
Applies to:
Oracle Integration-OIC - Version 18.2.5 and laterInformation in this document applies to any platform.
Goal
This knowledge article reflects updated product names. Oracle Integration (OIC) was formerly known as Autonomous Oracle Integration Cloud (AOIC, A-OIC, AIC, OAIC,OIC, OAC). Please see KM document for the full list of recently renamed PaaS services.
How can a payload be produced with CDATA tag and without the XSL producing it with escaped characters which are not acceptable to the target web service?
This is what the payload for the SOAP call should look like:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="" alt="Click (or CTRL+Click if using Firefox) to view" title="Click (or CTRL+Click if using Firefox) to view" name="contextTextUrl_1546897590576" target="_blank">http://autotask.net/ATWS/v1_5/">
<soapenv:Body>
<v1:query>
<!--Optional:-->
<v1:sXML><![CDATA[
<queryxml>
<entity>Invoice</entity>
<query>
<condition>
<field>id<expression op="greaterthan">0</expression></field>
</condition>
</query>
</queryxml>
]]>
</v1:sXML>
</v1:query>
</soapenv:Body>
</soapenv:Envelope>
<soapenv:Body>
<v1:query>
<!--Optional:-->
<v1:sXML><![CDATA[
<queryxml>
<entity>Invoice</entity>
<query>
<condition>
<field>id<expression op="greaterthan">0</expression></field>
</condition>
</query>
</queryxml>
]]>
</v1:sXML>
</v1:query>
</soapenv:Body>
</soapenv:Envelope>
In the XSL, this line is set for the CDATA tag:
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 |