Hi,
I need help in using IONApiRef to extract parts of an XML from a BOD and send it as Input Body in "ION API Connection Point"->Send to API.
My source XML has [CDATA] in an element and I am using the below mapping in Input Body tab->Map input document to API request field. When I test the API, the data in this element does not get sent with the body, however, the non-CDATA elements do get sent in the body of the API call. How can I get this to work?
Source XML:
<SyncWSLS3Msg><DataArea><WSLS3Msg><br /><DocumentID><ID></ID></DocumentID><br /><Message><![CDATA[*** some important data to send to API here *** ]]></Message><br /></WSLS3Msg></DataArea></SyncWSLS3Msg>
Below is the mapping example:
<br /><?xml version="1.0" encoding="UTF-8" standalone="yes"?><br /><Body><br /><Message><IonApiRef>SyncWSLS3Msg/DataArea/WSLS3Msg/Message</IonApiRef></Message><br /><DocID><IonApiRef>SyncWSLS3Msg/DataArea/WSLS3Msg/Document/ID</IonApiRef></DocID><br /></Body>