Hi, I think that no providers knows, how to serialize a com.shunra.poc.User. You have to give a MessageBodyWriter for this. Or which one should do it?
best regards Stephan Am 30.11.2011 09:42, schrieb Mark Kharitonov: > I have more input on this issue. The problem lies in the > org.restlet.ext.jaxrs.internal.provider.ConverterProvider, which is amongst > the three media writer providers selected by the framework for my response. > > This particular provider contributes */* to the list of the supported media > types, which in turn is compatible with text/html and this is how text/html > is later selected as the response media type. > > What is this org.restlet.ext.jaxrs.internal.provider.ConverterProvider? What > purpose does it serve? How should I utilize it? Adding */* to the list of the > supported media types implies that this particular provider knows to write > any media type. How come? > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2889245 ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2889403