>>Sr. Software Engineer, Systems Development Team
>>NIWA Auckland, New Zealand
>>Tel: +64 9 3754645
>>www.niwa.co.nz
>>NIWA - Enhancing the benefit of New ZealandĀ¹s natural resources.
>>
>>
>>>Date: Tue, 26 Nov 2013 15:51:56 -0500
>>>Fr
of New ZealandĀ¹s natural resources.
>
>
>> Date: Tue, 26 Nov 2013 15:51:56 -0500
>> From: Bill Burke
>> Subject: Re: [Resteasy-users] Replacing ProxyFactory with
>>RestEasyWebTarget does not work
>> To: resteasy-users@lists.sourceforge.net
>> Message-I
Bill Burke
>Subject: Re: [Resteasy-users] Replacing ProxyFactory with
> RestEasyWebTarget does not work
>To: resteasy-users@lists.sourceforge.net
>Message-ID: <529509ec.3000...@redhat.com>
>Content-Type: text/plain; charset=windows-1252; format=flowed
>
>This is a
This is a Resteasy Client -> JAX-RS 2.0 mismatch migration problem.
Replace:
response.getEntity()
with:
response.readEntity(String.class);
replace String.class to whatever class you want to marshal to.
getEntity() returns null if you haven't unmarshalled anything with
readEntity().
On 11/
After upgrading from Resteasy 2.4 to 3.0.5, none of my client calls work
anymore. The entity which I am expecting (as simple as a String) is always
null. In debug mode I can see it being set in the Response object on the server
side, but on the client side the entity in the Response is null.
Her