title: How to customize SOAP Fault messages in Mule?
body: <p>How do I send the fault code and fault string in such a way, that after my flow throws an exception, I get the desired error code and message in the SOAP error response (in FaultCode and FaultString fields).</p>
  
  <p>I have a SOAP service that is being called in Mule. I am using a custom-exception-strategy for catching exceptions, and then setting spring-bean properties for <strong>code</strong> and <strong>message</strong> fields. The spring properties are being set, but my SOAP response is still the generic SOAP fault.</p>
  
  <p>Also, I read that only MessagingExceptions can be handled in mule. So, how do I reproduce a messagingExcetion to test my code during development?</p>