Ok, we just wrote a unit test and removed the @Produces annotation and it works as we originally expected. I.e., whatever the Accepts header value is, is the media type of the response. We did not have to use HttpHeaders at all.
-- View this message in context: http://cxf.547215.n5.nabble.com/Ensuring-correct-MediaType-on-ExceptionMapper-tp5732905p5732932.html Sent from the cxf-user mailing list archive at Nabble.com.
