title: Cannot deserialize with XMLSerializer result from WCF webservice
body: <p>Here is the code trying from compact framework to get http service..</p>
  
  <pre><code>    List&lt;Table&gt; tables;
      using (Stream r = response.GetResponseStream())
      {
          XmlSerializer serializer = new XmlSerializer(typeof(Table),"http://schemas.datacontract.org/2004/07/");
          tables=(List&lt;Table&gt;) serializer.Deserialize(r);
      }
  
     response.Close();
  </code></pre>
  
  <p>It fails with {"There is an error in XML document (1, 2)."}</p>
  
  <pre><code>{"&lt;ArrayOfTable xmlns='http://schemas.datacontract.org/2004/07/WpfApplication1.Data.Model'&gt; was not expected."}
  </code></pre>
  
  <p>Table namespace is the same... 
  I dont know whats wrong there...</p>
  
  <p>UPDATE</p>
  
  <p>Problem was that i had typeof(Table) not typeof(<code>List&lt;Table&gt;</code>) which works partially..  No error but created tables values are null!</p>