XML and CDATA sections

XML and CDATA sections

I am working on CDATA section. My requirement is addtion two CDATA section to a string node and then display the same.

I tried with the below code :
String eHeader =’<![CDATA[

PlaceHolder for Header

]]>’ ;
String efooter=’<![CDATA[

PlaceHolder for Footer

]]>’;
XMLnode.fieldName =eHeader+‘bdyText’+eFooter;
return my_node result;
After I execute the same in SOAP UI i have getting the node value as :

<![CDATA[<![CDATA[

PlaceHolder for Header

]]]]>><![CDATA[body21<![CDATA[

PlaceHolder for Footer

]]]]>>

Not understanding why i am receiving the empty cdata node as well and nothing being decripted as well like < for the special characters.

Any idea?