title: NetDispatcherFaultException error when returning escaped xml
body: <p>I have a soap web service where the response body contains some escaped xml.
  So in the body of the response I have :</p>
  
  <pre><code> &lt;soap:Body&gt;
     &lt;GetServiceResponse xmlns="http://www.abc.com/x/"&gt;
          &lt;GetServiceResult&gt;
             &lt;Result&gt;
                &lt;Value&gt;&amp;amp;lt;/param&amp;amp;gt; etc....&lt;/Value&gt;
             &lt;/Result&gt;
          &lt;/GetServiceResult&gt;
       &lt;/GetServiceResponse&gt;
   &lt;/soap:Body&gt;
  </code></pre>
  
  <p>On my client I get an exception NetDispatcherFaultException "formatter threw an exception while trying to deserialize". I am using on the client the following code:</p>
  
  <pre><code> var binding = new BasicHttpBinding();
   var address = new EndpointAddress("http://localhost:2948/ReportingService.asmx");
   ReportingServiceSoap service = new ReportingServiceSoapClient(binding, address);
   var response = service.GetConfig(request); &lt;-- Exception raised on call
  </code></pre>
  
  <p>If I replace the escaped text with some string value (no escaped xml) then the client does not raise the exception.</p>
  
  <p>Any ideas where to look?</p>
  
  <p>JD</p>