Integration Server 10.15 | Web Services Developer’s Guide | CDATA Blocks in Inbound and Outbound SOAP Messages | Encoding CDATA Blocks in Outbound SOAP Messages
 
Encoding CDATA Blocks in Outbound SOAP Messages
Integration Server includes an option to control whether or not Integration Server encodes CDATA blocks in outbound SOAP messages. The watt.server.SOAP.preserveCDATA server configuration parameter specifies whether Integration Server encodes CDATA blocks in outbound messages.
*When set to true, when Integration Server encounters a CDATA in an outbound SOAP message, Integration Server will maintain it in the wire request unchanged and unencoded.
*When set to false,Integration Server treats the CDATA section as regular text resulting in the html encoding of the CDATA tag and illegal characters in the CDATA section.
The default value is true, CDATA is preserved and not encoded.
Note that encoding occurs before Integration Server places the outbound SOAP message on the wire.
Outbound SOAP messages that are affected by this setting include SOAP requests sent by web service connectors and SOAP responses sent by web service providers.
Example
When watt.server.SOAP.preserveCDATA is set to false, this CDATA section:
<![CDATA[
< " & " >
]]>
Would be encoded in the following way:
&lt;![CDATA[
&lt; &quot; &amp; &quot; &gt;
]]&gt;