How to receive Error code from SOAPClient : JBOSS ESB <p>I am using org.jboss.soa.esb.actions.soap.SOAPClient in my ESB. And i am trying to get the HTTP status code or any exception if SOAPClient fails to send request. Here , there may be plenty of reasons for unsuccesful delivary ex :--404,500 etc.... My requirment is to catch any error or exception (can be soap fault exception) or http status code in ESB so that i do some bussiness logic based on Exception . I tried to use below code but unable to receive any exception.</p> <pre><code>&lt;action class="com.xxx.esb.yyy.A228ProducerInquiry.ProducerInquiryTransactionHandler" name="RequestMapper" process="mapRequestPath"&gt; &lt;property name="OGNLPath" value="AgentValidation.strXMLIN"/&gt; &lt;/action&gt; &lt;action class="org.jboss.soa.esb.actions.soap.SOAPClient" name="FasatPost"&gt; &lt;property name="responseAsOgnlMap" value="true" /&gt; &lt;property name="wsdl" value="http://example.org?wsdl"/&gt; &lt;property name="SOAPAction" value="mySoapAction"/&gt; &lt;/action&gt; &lt;action name="response-mapper" class="com.foresters.esb.acord.A228ProducerInquiry.MyResponseAction"&gt; &lt;/action&gt; </code></pre> <p>I can see exception in console and SOAP UI but unable to receive in ESB </p> <p>Thanks, Madhu CM</p>