title: WCF web service - increase timeout
body: <p>I get this:</p>
  
  <blockquote>
    <p>An error occurred while receiving the HTTP response to <a href="http://localhost:8732/Design_Time_Addresses/PersistencyService/Service1/" rel="nofollow">http://localhost:8732/Design_Time_Addresses/PersistencyService/Service1/</a>. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.</p>
  </blockquote>
  
  <p>Why do I get this? I assume it is because the method takes about 1 min to complete. How can disable any time limit?</p>
  
  <p>I get this when running in VS a Windows form project that uses a WCF service in the same solution</p>
  
  <p>My WCF configuration:
  <strong>edit:</strong></p>
  
  <pre><code>&lt;system.serviceModel&gt;
     &lt;bindings&gt;
        &lt;wsHttpBinding&gt;
          &lt;binding name="LongRunning" sendTimeout="00:10:00" /&gt;
        &lt;/wsHttpBinding&gt;
     &lt;/bindings&gt;
     &lt;client&gt;
        &lt;endpoint name="Default"          
                  address="http://localhost:8732/Design_Time_Addresses/PersistencyService/Service1/"         
                  binding="wsHttpBinding"                    
                  bindingConfiguration="LongRunning"
                  contract="PersistencyService.IService1" /&gt;
     &lt;/client&gt;
     &lt;services&gt;
        &lt;service name="PersistencyService.Service1"&gt;
           &lt;endpoint 
               address="" 
               binding="wsHttpBinding"  bindingConfiguration=""
               contract="PersistencyService.IService1" &gt;
               &lt;identity&gt;
                  &lt;dns value="localhost" /&gt;
               &lt;/identity&gt;
           &lt;/endpoint&gt;
           &lt;endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /&gt;
           &lt;host&gt;
              &lt;baseAddresses&gt;
                 &lt;add baseAddress="http://localhost:8732/Design_Time_Addresses/PersistencyService/Service1/" /&gt;
              &lt;/baseAddresses&gt;
           &lt;/host&gt;
        &lt;/service&gt;
     &lt;/services&gt;
     &lt;behaviors&gt;
        &lt;serviceBehaviors&gt;
           &lt;behavior&gt;
              &lt;serviceMetadata httpGetEnabled="True"/&gt;
              &lt;serviceDebug includeExceptionDetailInFaults="False"/&gt;
          &lt;/behavior&gt;
        &lt;/serviceBehaviors&gt;
     &lt;/behaviors&gt;
  &lt;/system.serviceModel&gt;
  </code></pre>
  
  <p>The exception message is An existing connection was forcibly closed by the remote host.
  I must also add that I get about 70MB of data from the service</p>