The Infor Communities is globally accessed system by Infor and its customers, please do not post or upload any content that could be deemed as sensitive, confidential or subject to any data regulation requirements. If you are unsure whether or not the content contains sensitive, confidential or has any data regulation requirements, please seek the advice of your internal security, legal, and compliance experts.

CDATA element in payload for WebService and/or ION API

Hi,

I'm trying construct payload from a WebService and ION API connection point that MUST include some XML nodes wrapped in <!CDATA[ ... ]]>. Escaping < and > is unfortunately not possible as the end-point to be called will not accept escaped content. Is there any method of including some dynamic content in CDATA? 

In my scenario, I wish to send a  Custom BOD to either an ION API or WebService connection point. The content of the BOD will be used to populate the payload, including several elements inside CDATA. 

In case of a webservice call, wrapping my content in <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text> and <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text> should generate <![CDATA[ ]]> but  ends up being &lt!pCDATA[]]&gt; which is rejected by the WebService.

For ION APIs connection point there is really no option to include CDATA.

Any hints/comments/suggestion?

Thanks,
Tomasz