Thank you for the reply. I debugged it. It has status code 404.
It started working fine after adding type:
builder.entity(error).build().type("application/xml");But, is there any better way to add the type dynamically? Thank you -- View this message in context: http://cxf.547215.n5.nabble.com/ExceptionMapper-question-handling-exceptions-tp4463312p4470061.html Sent from the cxf-user mailing list archive at Nabble.com.
