Ok, Here is my config in my applicationContext file for Json :
<jaxrs:providers> <bean class="org.codehaus.jackson.jaxrs.JacksonJsonProvider"/> </jaxrs:providers> The json sequence is very big so i have put it in a joined file. 2011/11/24 Sergey Beryozkin <[email protected]> > 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 >> >> >> > -- *CHAKER Antoine Philippe Chekry* *Ingénieur en Informatique* *Développeur Java J2EE **, <http://www.blackbeltfactory.com/ui#!User/aphilippe>WebMaster* *CNPS - Cote d'Ivoire* * *
json_seq.json
Description: application/json
