On 07/10/14 04:39, las wrote:
When serializing the request, I want to have firstName in the POJO to be
FirstName in the JSON request. And in the response, i want firstName in JSON
to get mapped to firstName in the POJO. Is there a way i can set different
naming strategy for request and response? How do i go about this situation?
Have a look at
http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-CustomizingJAXBXMLandJSONinputandoutput

outTransformElements and inTransformElements should help

That would work with a CXF JSONProvider only

Sergey



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Re-Different-PropertyNamingStrategy-JsonProvider-for-request-and-response-tp5749439p5749510.html
Sent from the cxf-user mailing list archive at Nabble.com.


Reply via email to