CxfConfiguration config = new CxfConfiguration();
config.setMuleContext(muleContext);
config.initialise();
// Build a CXF MessageProcessor
SimpleClientMessageProcessorBuilder builder = new SimpleClientMessageProcessorBuilder();
builder.setConfiguration(config);
builder.setServiceClass(EchoService.class);
builder.setOperation("echo");
builder.setMuleContext(muleContext);
CxfOutboundMessageProcessor processor = builder.build();
MessageProcessor messageProcessor = new MessageProcessor()
{
public MuleEvent process(MuleEvent event) throws MuleException
{