Hi,
I have both the jaxb and jackson extensions and a @Post("xml|json:xml|json") 
annotated method.  Posting an xml entity works great but when I post json I see 
exceptions.  The jaxb converter helper is getting selected.

breakpoint in ConverterUtils.java reveals:

args:
source is a Representation with MediaType application/json as expected.  target 
is one of my classes (the argument to the annotated method) as expected.  
resource is my resource class that has the annotated method as expected.

JacksonConverter.score returns 0.8
JaxBConverter.score return 1.0

Thanks,
Tony Rozga

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2677176

Reply via email to