Thanks Sergey, I am quite new to CXF and I must say and there are lots of it that are still abstract to me.
I wanted to do just that, that is inject the http request or header in my ExceptionMapper, I but haven't figured out how. Can you kindly provide some advice on how to do that? You got a point on the default acceptable type if none is specifically set. I have no idea. But when there is a type specified in the accept header, even if the runtime doesn't find a proper service method, it should still be able to fall back on the accept type define in the http header. The http request and it's embedded accept header should be available at all time isn't it? Thanks, Francois -- View this message in context: http://cxf.547215.n5.nabble.com/Custom-ExceptionMapper-No-message-body-writer-has-been-found-for-response-class-MyError-tp5720034p5720049.html Sent from the cxf-user mailing list archive at Nabble.com.
