ceineke wrote > > I wrote a simple implementation of a MessageBodyReader that is annotated > with @Provider (no @Consumes) and has javax.ws.rs.ext.Providers injected > into it using @Context. I call providers.getMessageBodyReader(...) in my > implementation of readFrom with the parameters passed to my method, but > getMessageBodyReader returns my implementation. >
Durrr.... of course, when I query the providers I have to ask for the MessageBodyReader of the transfer object class, not the domain object class. Works! :D -- View this message in context: http://cxf.547215.n5.nabble.com/JAX-RS-Convert-return-value-to-JAXB-annotated-element-for-transparent-marshalling-tp5447971p5448836.html Sent from the cxf-user mailing list archive at Nabble.com.
