How to embed CDATA into XML: Oracle Integration Cloud by Ankur Jain
June 30, 2020 Leave a comment
There is a scenario where you are required to consume SOAP API and the API require to send CDATA as part of the request. In the article, we are going to showcase how to embed the CDATA into the XML request in Oracle Integration Cloud.
Let’s first understand what CDATA is?
A Character Data(CDATA) section contains text that will NOT be parsed by a parser. Tags inside a CDATA section will NOT be treated as markup and entities will not be expanded. The primary purpose is for including material such as XML fragments, without needing to escape all the delimiters.
Example of SOAP API having the CDATA
In the below SOAP API request, please see the “<general:BPXML>” and under this CDATA element is there. When you will consume the same into OIC, you will not see the end elements( <wrapper>, <emp>, <name>, etc. ) under CDATA in mapper. If not found in the mapper how you will send the data to SOAP request which is required. Read the complete article here.
For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.
Blog
Twitter
LinkedIn
Facebook
Wiki
Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress