title: WCF - ASMX - CommunicationException
body: <p>So I've got a WCF client consuming an ASMX web-service. Everything works fine, except exception handling.</p>
  
  <p>Where I should get a (non-contractual) FaultException, i get the CommunicationException.</p>
  
  <p>What may be wrong?</p>
  
  <hr>
  
  <p>Here goes the relevant data:</p>
  
  <p>SOAP response (seems to be according to specification):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&lt;soap:Body&gt;&lt;soap:Fault&gt;&lt;soap:Code&gt;&lt;soap:Value&gt;soap:Sender&lt;/soap:Value&gt;&lt;/soap:Code&gt;&lt;soap:Reason&gt;&lt;soap:Text xml:lang="en"&gt;User not found or password is incorrect (User not found)&lt;/soap:Text&gt;&lt;/soap:Reason&gt;&lt;soap:Node&gt;Login&lt;/soap:Node&gt;&lt;detail&gt;&lt;ErrorInfo xmlns="http://tempuri.org/"&gt;&lt;Area&gt;Security&lt;/Area&gt;&lt;ErrorCode&gt;1&lt;/ErrorCode&gt;&lt;Message&gt;User not found or password is incorrect (User not found)&lt;/Message&gt;&lt;/ErrorInfo&gt;&lt;/detail&gt;&lt;/soap:Fault&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
  </code></pre>
  
  <p>ex.Message (CommunicationException) :</p>
  
  <pre><code>Server returned an invalid SOAP Fault.  Please see InnerException for more details.
  </code></pre>
  
  <p>ex.InnerException.Message (XmlException) :</p>
  
  <pre><code>End element 'Fault' from namespace 'http://www.w3.org/2003/05/soap-envelope' expected. Found element 'detail' from namespace ''. Line 1, position 444.
  </code></pre>