Hi All, I have a route configured like this:
public void configure() throws Exception { String cxfUri = String.format("cxf://%s/?dataFormat=MESSAGE&username=%s&password=%s&loggingFeatureEnabled=true", url, user, password); CxfEndpoint myCxfEp = (CxfEndpoint) getContext().getEndpoint(cxfUri); myCxfEp.setServiceClass(org.tem.SomeService.class); from("direct:service1") .to(cxfUri) } When I put request object in the body and send it to "direct:service1" It is marshaled to xml correctly and sent, but for some reason it doesn't wrap it with SOAP envelope and headers (the http payload has only the request xml). Is there anything special supposed to be done in order to make sure outgoing message has the proper soap format? Cheers, Dmitry