How can I use rest marshal an object that has one field that contains CDATA?
I have tried using XmlAdapter, but it seems to have no affect.
I am using "Red Hat JBoss Enterprise Application Platform - Version 6.4.0.GA".
@POST
@Path("/CheckScore")
@Produces({MediaType.APPLICATION_XML, MediaType.TEXT_XML})
public Response foo(@Context HttpServletRequest req, @Context
ServletContext context){
...
return Response.ok(results).build();
}
Robert
________________________________
This e-mail and any files transmitted with it may contain privileged or confidential
information. It is solely for use by the individual for whom it is intended, even if
addressed incorrectly. If you received this e-mail in error, please notify the sender; do
not disclose, copy, distribute, or take any action in reliance on the contents of this
information; and delete it from your system. Any other use of this e-mail is prohibited.
Thank you for your compliance.
________________________________
Show replies by date