Hi

On 24/11/11 10:27, antoine philippe chaker wrote:
Hi everybody,

i use CXF in my webapp to make REST service.
In my view i use JQuery to catch my service.

Here is my problem :
- i have a pojo that i invoke via jquery in json (my object is mapped with
JAX-RS annotations) .
- when i want to resend the same object unchanged to the server via POST
with $.ajax (JQuery)
it throws this exception :

"-Error deserializing input stream into target class FluxVO (my custom
wrapper with JAX-RS), content type : application/json;charset=UTF-8
- WebApplicationException has been caught : Unexpected character ('i',
(code 105)) : expected a valid value (number, String, array, object,
'true', 'false' or 'null') at

Do you use a default JSONProvider or Jackson ?
How does a json sequence which causes the problem look like, can you post a sample sequence ?

Cheers, Sergey

[Source: org.apache.cxf.transport.http.AbstractHTTPDestination (...); line:
1, column: 2]"

Thx



Reply via email to