Here's how we generate a SOAP Fault:

public void process(Exchange exchange) throws Exception
  {
    // Setup the SOAP fault
        SoapFault fault = buildFault(exchange);
        fault.setFaultCode(Soap11.getInstance().getSender());
        //B2BException_Exception fault = buildFault(exchange);
    exchange.getOut().setHeaders(exchange.getIn().getHeaders());
    
    exchange.getOut().setBody(fault);
    exchange.getOut().setFault(true);
  }



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-do-i-control-my-soap-foult-back-to-the-client-tp5755111p5757897.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to