// the begining of the method
exchange.getIn().setBody(new ByteArrayInputStream(body.getBytes("UTF-8")));
boolean soap = false;
if ( !augmented && exchange.getFromEndpoint() instanceof CxfSpringEndpoint ) {
new PreCxfTransportSoapProcessor().process( exchange );
soap = true;
}
processor.process( exchange );
if ( soap ) {
new PostCxfTransportSoapProcessor().process( exchange );