[esb-java-user] Handling soap fault

Paul Fremantle paul at wso2.com
Thu Dec 11 06:09:20 PST 2008


The ESB fault sequence traps errors that happen inside the ESB. The 
external fault is just treated like any other message coming back. What 
you need to do is use the <filter> mediator to spot the fault and then 
act on it in the outSequence.

Paul

SEGUINOT Christophe wrote:
> Hello,
> 
> I'm simulating a Web Service which is throwing a SOAPFault exception.
> I can invoke this web service through the ESB but the fault sequence is 
> not ran. Is there a way to handle SOAPFault Exception returned by a Web 
> Service in the ESB ?
> 
> Ideally I would like a fault sequence to be ran when the result of the 
> invokation is a SOAP Fault Exception, and then  use the makeFault mediador.
> 
> Thanks,
> 
> Christophe
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Esb-java-user mailing list
> Esb-java-user at wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

-- 
Paul Fremantle
CTO and Co-Founder, WSO2
OASIS WS-RX TC Co-chair
VP, Apache Synapse

Office: +44 844 484 8143
Cell: +44 798 447 4618

blog: http://pzf.fremantle.org
paul at wso2.com

"Oxygenating the Web Service Platform", www.wso2.com



More information about the Esb-java-user mailing list