AnsweredAssumed Answered

CDATA tags in XML

Question asked by saravana.prabu481343 on Nov 8, 2017

Hi,

I have a very strange XML response from my vendor.The boomi data process shape or Map shapes are straight away rejecting this message with error,

Data process shape error when I tried to replace <![CDATA[

Unclosed character class near index 9
&lt;![CDATA[
^

Map Shape error:

Unable to create XML files from data, the document may not be well-formed xml 

 

<ns1:getoutstandingCollectionResponse xmlns:ns1="http://foo">
<getoutandingCollectionReturn xsi:type="xsd:string">
<![CDATA[
<?xml version="1.0" encoding="UTF-16LE" standalone="no"?>
<OutstandingCollection>
<branchCode>UTOPIA</branchCode>
</OutstandingCollection>
]]>
</getoutandingCollectionReturn>
</ns1:getoutstandingCollectionResponse>
</soapenv:Body>
</soapenv:Envelope>

 

Anyway I can overcome this.

 

Thanks,

Prabu

Outcomes