Hi Mark, > It is a bit more complex. Providers are wrapped with the > AbstractProviderWrapper, which assumes that if a provider is not annotated > with @Produces, then it produces */*. Similarly, if it is not annotated with > @Consumes, then it consumes */*. That is as defined in the spec:
"Application classes can declare the supported request and response media types using the @Consumes and @Produces annotations respectively. [...] In the absence of either of these annotations, support for any media type (“*/*”) is assumed." For details see http://download.oracle.com/otn-pub/jcp/jaxrs-1.1-mrel-eval-oth-JSpec/jax_rs-1_1-mrel-spec.pdf, Chapter 3.5, page 15. > By itself, ConverterProvider is OK. But it must not be wrapped with > AbstractProviderWrapper. Why not? > I really appreciate your work on the JAX-RS extension, it makes working with > Restlet a much more pleasant experience. But I guess you are currently not in > a position to fix bugs in it, are you? I think I could, if it is not lost with the change to github, but shouldn't. But I have to set up the environment, github plugin and so on, but I have not the time for this. best regards Stephan ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2890694

