# wrapInCDATA

Simply wraps any data fragment into <![CDATA[ ... ]]> section. This can be useful if you want to preserve indentation or line breaks.

Sample request:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ws="http://ws.xservices.brutex.net">
       <soapenv:Header/>
       <soapenv:Body>
          <ws:wrapInCDATA>
             <data>Hello World, here is some &lt;xml&gt; data</data>
          </ws:wrapInCDATA>
       </soapenv:Body>
    </soapenv:Envelope>

Sample response:

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
       <soap:Body>
          <ns2:wrapInCDATAResponse xmlns:ns2="http://ws.xservices.brutex.net">
             <return>&lt;![CDATA[Hello World, here is some &lt;xml> data]]&gt;</return>
          </ns2:wrapInCDATAResponse>
       </soap:Body>
    </soap:Envelope>