Insert CDATA into XML in a mapping
Summary
Insert CDATA into XML in a mappingContent
I have an XML request I am trying to write that requires some static CDATA, e.g.
<callContext xsi:type="wss:CAdxCallContext">
<codeLang xsi:type="xsd:string">ENG</codeLang>
<poolAlias xsi:type="xsd:string">PILOT</poolAlias>
<poolId xsi:type="xsd:string"></poolId>
<requestConfig xsi:type="xsd:string"><![CDATA[adxwss.optreturn=JSON&adxwss.pretty=true]]></requestConfig>
</callContext>
If I just add the CDATA as a string value for the element, it gets escaped and I get an error from OIC:
oracle.cloud.connector.api.CloudInvocationException: oracle.xml.parser.v2.XMLParseException; lineNumber: 7; columnNumber: 86; ']]>' is not allowed in text.
0