title: How Do I debug a fault exception
body: <p>How do I  debug a faultexception</p>
  
  <p>I am getting this </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"&gt;
   &lt;env:Body&gt;
   &lt;env:Fault&gt;
    &lt;faultcode&gt;env:Client&lt;/faultcode&gt;
    &lt;faultstring&gt;Rejected by policy. (from client)&lt;/faultstring&gt;
    &lt;/env:Fault&gt;
   &lt;/env:Body&gt;
  &lt;/env:Envelope&gt;
  </code></pre>
  
  <p>The documentation provided says it could be because of 
  The Missing,Invalid User ID or Credentials fault is encountered when the User ID or Password not specified or incorrect within the data-stream</p>
  
  <p>I am giving the correct password, userid. 
  Could it be because of a invalid usernametoken or x509 certificate. </p>