Hi,
My REST method returns @ProduceMime({"application/xml"}). Inside the
method, I am using JAXB to construct the XML response. One of the nodes
in the XML has an embedded CDATA string.
When I invoke this method, I do not see the CDATA entities properly
encoded. I see <, >, " instead of <, >, ". I see the browser
can handle this response just fine. But, the consumer of this method is
a different application.
Is there a way to configure this in the REST method? Or, do we need to
have this decoding logic in the consumer?
Please advice.
Thanks!
Arul