You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ABouchama <ti...@yahoo.Fr> on 2014/10/22 13:04:16 UTC
Re: How do i control my soap foult back to the client ?
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.