users@jersey.java.net

[Jersey] Re: Response body conversion to string using windows-1252 encoding failed. Response body not set!

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Tue, 20 Dec 2011 16:04:52 +0100

Hi Jordan,

What if you try to access the method with your web browser?
Still no response body? How do you configure JSON processing in your app?
Do you use one of the mechanisms described in [1]?

~Jakub

[1]http://jersey.java.net/nonav/documentation/latest/json.html

On 20.12.2011 11:49, Jordan Blay wrote:
> Hi!
>
> I have the following method:
> @GET
> @Produces({ MediaType.APPLICATION_JSON })
> public Collection<Gift> getGifts(@Required @QueryParam("category") String
> categories, @QueryParam("amount") Integer amount) throws RemoteException,
> ServiceException {
> return giftManager.getGifts(categories, amount);
> }
>
> However, the client tool of WixTools.org retrieves Response body conversion
> to string using windows-1252 encoding failed. Response body not set!
>
> What is the problem?
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/Response-body-conversion-to-string-using-windows-1252-encoding-failed-Response-body-not-set-tp7111377p7111377.html
> Sent from the Jersey mailing list archive at Nabble.com.
>