On 24/01/13 13:15, jbright wrote:
I remember I tried that and still it gave me 500 error

I'd recommend you to create a test which submits this sequence directly to JacksonJsonPrivider (and JacksonJaxbJsonProvider), bypassing CXF completely and attach it to Jackson JIRA; If I knew the answer I'd obviously share it :-), but I don't, sorry can't be help, so going this route will probably be most effective. I'd still be very surprised if Jackson were not able to read it - please double check their forums, and attach a test project to their JIRA

Thanks, Sergey


John


On Jan 24, 2013, at 6:18 PM, "Clint Dovholuk [via 
CXF]"<[email protected]>  wrote:

I think you have the same issue I had - the 'searchMeRequest' is the object as 
defined in your service right?

   public SearchResult searchForIt(SearchMeRequest searchMeRequest)

If that's the case then your json is invalid. It needs to take that outter 
'wrapper' element out...

I think your json needs to look like this... give this a try:

{
   "loginCredentials":{
      "appId":"J",
      "username":"J",
      "password":"J",
      "securityToken":"J"
   },
   "searchHeader":{
      "searchCategory":"J",
      "filterLogic":"J",
      "searchParams":{
         "field":"J",
         "dataType":"J",
         "operator":"J",
         "values":"J"
      }
   }
}


-----Original Message-----
From: jbright [mailto:[hidden email]]
Sent: Thursday, January 24, 2013 1:43 AM
To: [hidden email]
Subject: RE: JacksonJsonProvider not working with CXF Jax-RS

yep, I did know that and I tried as mentioned by you.. but still there is no 
luck..

I even tried the way it have the case sensitiveness... like below

{"searchMeRequest":{"loginCredentials":{"appId":"J","username":"J","password":"J","securityToken":"J"},"searchHeader":{"searchCategory":"J","filterLogic":"J","searchParams":{"field":"J","dataType":"J","operator":"J","values":"J"}}}}

Still no luck..



--
View this message in context: 
http://cxf.547215.n5.nabble.com/JacksonJsonProvider-not-working-with-CXF-Jax-RS-tp5721842p5722114.html
Sent from the cxf-user mailing list archive at Nabble.com.


If you reply to this email, your message will be added to the discussion below:
http://cxf.547215.n5.nabble.com/JacksonJsonProvider-not-working-with-CXF-Jax-RS-tp5721842p5722130.html
To unsubscribe from JacksonJsonProvider not working with CXF Jax-RS, click here.
NAML




--
View this message in context: 
http://cxf.547215.n5.nabble.com/JacksonJsonProvider-not-working-with-CXF-Jax-RS-tp5721842p5722134.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to