Hi, I tried it, I still get the same error.
Caused by: org.apache.camel.component.cxf.CxfOperationException: JAXRS operation failed invoking direct://matching with statusCode: 404 at org.apache.camel.component.cxf.jaxrs.CxfRsProducer.populateCxfRsProducerException(CxfRsProducer.java:317) at org.apache.camel.component.cxf.jaxrs.CxfRsProducer.invokeHttpClient(CxfRsProducer.java:177) at org.apache.camel.component.cxf.jaxrs.CxfRsProducer.process(CxfRsProducer.java:87) The outgoing XML message was INFO : Outbound Message --------------------------- ID: 4 Address: http://localhost:9080/yyy/services/ABC Content-Type: */* Headers: {org.apache.cxf.request.uri=[http://XXX:9080/yyy/services/ABC], Content-Type=[*/*], Connection=[Keep-Alive], Accept=[*/*]} -------------------------------------- I believe still the request goes to localhost instead of going to XXX Regards, Hari -- View this message in context: http://camel.465427.n5.nabble.com/URL-overwriting-SOAP-vs-restful-tp5727526p5727530.html Sent from the Camel - Users mailing list archive at Nabble.com.