This looks like a related but different bug to me. ClientResource.wrap() doesn't seem to call AnnotationInfo.getRequestVariants(...) at all.
-- Arjohn Kampman - www.aduna-software.com On 13/12/2011 13:42, Koen Maes wrote: > I have a problem that an outbound connection sends the wrong representation, > it sends the representation it received from the incoming connection (GWT > serialized object) while it should send JSON. > > see > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2892105 > > Might this bug be causing this problem ? > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2892924 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2892973