Main changes are: Goal 6 - Definition and Rating Scale (Just replace it with new one) Goal 7 - Definition changed (Just replace it with new one) Goal 8 and 10 - Rating Scale is changed (Just replace it with new one)
<import resource="classpath:META-INF/cxf/cxf.xml" /> This configuration works but still input json is not mapped to exchange body, though output pojo to json mapping is working and being sent to client properly. Following is message history... Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [httpRequest ] [httpRequest ] [cxfrs://bean://restServer?bindingStyle=SimpleConsumer ] [ 62] [httpRequest ] [to1 ] [log:?showAll=true ] [ 6] [httpRequest ] [process3 ] [ref:processRequest ] [ 6] Exchange --------------------------------------------------------------------------------------------------------------------------------------- Exchange[ Id ID-PG85238-43050-1395997134260-0-2 ExchangePattern InOut Headers {breadcrumbId=ID-PG85238-43050-1395997134260-0-1, CamelAcceptContentType=*/*, CamelCxfMessage=org.apache.cxf.message.XMLMessage@84f9cd67, CamelCxfRsOperationResourceInfoStack=[org.apache.cxf.jaxrs.model.MethodInvocationInfo@5ce5ef67], CamelCxfRsResponseClass=class javax.ws.rs.core.Response, CamelCxfRsResponseGenericType=class javax.ws.rs.core.Response, CamelHttpCharacterEncoding=ISO-8859-1, CamelHttpMethod=POST, CamelHttpPath=/orders/4001/delta, CamelHttpUri=/orders/4001/delta, CamelRedelivered=false, CamelRedeliveryCounter=0, connection=keep-alive, Content-Length=100, content-type=application/json, Host=localhost:42107, operationName=createDelta, orderId=4001} BodyType org.apache.cxf.message.MessageContentsList Body [] ] Stacktrace --------------------------------------------------------------------------------------------------------------------------------------- java.lang.NullPointerException: null Not sure why input json in not being mapped to pojo. One thing, CamelCxfMessage is referring to XMLMessage even though the content-type is application/json. Not sure if this should help in tracing the problem. -- View this message in context: http://camel.465427.n5.nabble.com/Issues-with-cxfrs-using-json-tp5749474p5749497.html Sent from the Camel - Users mailing list archive at Nabble.com.