users@jersey.java.net

[Jersey] ClientHandlerException: Message body reader not found

From: James Adams <monocongo_at_gmail.com>
Date: Fri, 21 Aug 2009 03:43:23 -0500 (CDT)

I'm having trouble in a client class method when I make a
WebResource.Builder().get() call:

com.sun.jersey.api.client.ClientHandlerException: A message body reader for
Java type, class com.mycom.myapp.api.models.MyModel, and MIME media type,
application/xml, was not found

I have tried remedying the problem by adding the Fast Infoset provider
classes to the ClientConfig in the client's constructor but apparently this
isn't a fix for the problem. Can anyone suggest where else I might look for
the problem and/or what else I might try to fix it?

I'm using Jersey version 1.0.3. Thanks in advance for any suggestions, etc.

--James
-- 
View this message in context: http://n2.nabble.com/ClientHandlerException-Message-body-reader-not-found-tp3486996p3486996.html
Sent from the Jersey mailing list archive at Nabble.com.