title: Could not find default endpoint element
body: <p>I've added a proxy to a webservice to a VS2008/.NET 3.5 solution. When constructing the client .NET throws this error:</p>
  
  <blockquote>
    <p>Could not find default endpoint element that references contract 'IMySOAPWebService' in the ServiceModel client configuration section. This might be because no configuaration file was found for your application or because no endpoint element matching this contract could be found in the client element.</p>
  </blockquote>
  
  <p>Searching for this error tells me to use the full namespace in the contract. Here's my app.config with full namespace:</p>
  
  <pre><code>&lt;client&gt;
    &lt;endpoint address="http://192.168.100.87:7001/soap/IMySOAPWebService"
              binding="basicHttpBinding" bindingConfiguration="IMySOAPWebServicebinding"
              contract="Fusion.DataExchange.Workflows.IMySOAPWebService" name="IMySOAPWebServicePort" /&gt;
  &lt;/client&gt;
  </code></pre>
  
  <p>I'm running XP local (I mention this because a number of Google hits mention win2k3)
  The app.config is copied to app.exe.config, so that is also not the problem.</p>
  
  <p>Any clues?</p>