title: Windows 7 x64 and external Web Service problem in .NET
body: <p>I'm running into a strange problem. I have a simple C# console app that calls an external web service referenced within my VS 2008 .NET solution. The web service is defined as a service reference, per the vendor specs. The service requires login credentials to be sent as part of the SOAP header.</p>
  
  <p>Under Vista x64/XP it runs without error. I can call the web service with the credentials and get a valid response back.</p>
  
  <p>However, the <strong>exact same exe</strong> run under <strong>Windows 7 x64 (build 7100)</strong> returns an HTTP error, "The remote server returned an unexpected response: (411) Length Required".</p>
  
  <p>I don't have a huge amount of experience calling web services, especially under a service reference, but this problem has me baffled.</p>
  
  <p>It seems like I might be able to fix the "issue" by setting the content length in the SOAP header but I don't see that exposed from the generate service proxy. Or perhaps there's a Windows 7 security setting that needs to change. I don't know.</p>
  
  <p>Any help/suggestions would be appreciated.</p>