cancel
Showing results for 
Search instead for 
Did you mean: 

Handling of CDATA

former_member10771
Active Participant
0 Kudos

Hi

I have the following input structure...

<r1>

<emp>ABC</emp>

<cnt>12</cnt>

<desc>XYZ</desc>

<date>123456</date>

<data>

<rdata><![CDATA<AAA>1234</AAA><BBB>3456</BBB>]</rdata>

</data>

</record>

When I pass the data the receiver SOAP adapter fails .. Is it due to the CDATA thing that it is not able to interpret and pass the data to the target...Is there any way which would help in successfully sending the data...Also at the adapter engine when I see the payload I can see that there is "&lt" and "&gt" for the "<" and ">" tags...Is this the issue which is causing this to fail...

Can return as XML and copy XML function help in solving this..

Please advise..

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos
<!CDATA<AAA>1234</AAA><BBB>3456</BBB>

I dont think you have closed the CDATA tag properly

<![CDATA[THE DATA TO BE PLACED HERE ]]>

and about < getting converted to lt.....i think you will have to implment a JAVA mapping....just follow the blog by Pooja Pandey.

Regards,

Abhishek.