remove <![CDATA[ tag from xml webserivce responses

workkamenru

New Member
I am using below format to response for the webservices.\[code\]<Name>abc</Name><Detail> <RESPONSE> <Age>20</Age> <Address>blahblah</Address> <Mobile>12345</Mobile> </RESPONSE></Detail>\[/code\]Due to the requirements, I need to return xml format data insides the \[code\]<Detail></Detail>\[/code\] tag.In my java class, I parse using Xstream and format into xml and put insides the Detail tag.But when I test using SOAPUI , I am getting extra \[code\]<![CDATA[<RESPONSE>.. <</RESPONSE>]]>\[/code\] insdies Detail tag. How can I avoid having those CDATA tag for the xml response?
 
Back
Top