Hi Brad
Thanks, FYI explicitly configuring CXF JSONProvider with a property
unmarshalAsJaxbElement may fix it or adding Jackson provider (while
excluding a jettison dependency) should work...
Cheers, Sergey
On 30/08/16 03:01, Ranx wrote:
I assume you have a JSONProvider configured? That usually causes the error
you are seeing.
Does your Book class have an @XmlRootElement at its top? If you're using
JAXB that is required even for JSON.
Brad
--
View this message in context:
http://camel.465427.n5.nabble.com/http-415-error-in-cxf-rest-service-tp5786955p5786966.html
Sent from the Camel - Users mailing list archive at Nabble.com.