REST service..
I have the xml content as CLOB in database and I need to send it to the rest client. I have corresponding element whose data type is defined as
String. <xsd:String> in schema to which
I will be mapping the CLOB data obtained from DB.
I am able to map the CLOB data to xsd:String data type, but CDATA[] would be prefixed to the response when marshalled by JAXB during conversion which is the usual behavior.
But clients don't want the CDATA to be present while sending the response.
<CDATA[
<ns1:updateDetails>
<address>
</address>
</ns1:updateDetails]]>
Could you please suggest me how should I resolve.