title: How do I prevent my .NET SOAP client from including "Connection: KeepAlive" in the HTTP headers. (using WSE3.0)
body: <p>In the HTTP Connection header, my web service client is including: 
  <code>Connection: Keep-Alive</code></p>
  
  <p>I want to disable this.  <B>After doing some research, it appears the way to do this is to set the KeepAlive member of the <code>SoapHttpChannelOptions</code> class to false.  But, I do not see a way to access/modify <code>SoapHttpChannelOptions</code> in the webservice client class </B> that was generated for me in Visual Studio using WSE3.0 (Web Service Enhancement.</p>
  
  <p>In my case, the generated stub class extends <code>Microsoft.Web.Services3.WebServicesClientProtocol</code></p>
  
  <p>I've been unable to find any examples searching google and most members of the SoapHttpChannelOptions class are inherited into the WebServicesClientProtocol class... </p>
  
  <p><a href="http://msdn.microsoft.com/en-us/library/microsoft.web.services3.messaging.soaphttpchanneloptions_members.aspx" rel="noreferrer">SoapHttpChannelOptions Reference</a><BR>
  <a href="http://msdn.microsoft.com/en-us/library/microsoft.web.services3.webservicesclientprotocol_members.aspx" rel="noreferrer">WebServicesClientProtocol Reference</a></p>
  
  <p>Note: I'm not trying to modify the web server.  I'm trying to modify the web service client.</p>