title: C# calling Magento soap service endpoint binding not using HTTP?
body: <pre><code>I am using C# to call Magento SOAP API, and we have until now using HTTP to call this service. Now we have install SSL to our website so soap is no longer available from HTTP. 
  
  So for change I have modify service in my Visual Studio project and my App.config have change into:
  
      &lt;?xml version="1.0" encoding="utf-8" ?&gt;
      &lt;configuration&gt;
      &lt;startup&gt; 
          &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" /&gt;
      &lt;/startup&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;basicHttpBinding&gt;
                  &lt;binding name="Binding" maxBufferPoolSize="200000000" maxReceivedMessageSize="200000000" &gt;
                      &lt;security mode="Transport" /&gt;
                  &lt;/binding&gt;
              &lt;/basicHttpBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint address="https://www.ourwebstore.com/api/v2_soap/" binding="basicHttpBinding"
                  bindingConfiguration="Binding" contract="ServiceReference.PortType"
                  name="Port" /&gt;
          &lt;/client&gt;
      &lt;/system.serviceModel&gt;
      &lt;/configuration&gt;
  </code></pre>
  
  <p>Before modifying service request instead https was HTTP. And with HTTP works fine and fast. But when we upgrade into https, problem was, that our call services are slower, and randomly (the process is sometimes finished sometime not) I get an error (when before use of HTTP this error did not show up). Error is:<br></p>
  
  <pre><code>Unhandled Exception: System.ServiceModel.CommunicationException: An error occurred while receiving the HTTP response to https://www.ourwebstore.com/api/v2_soap/. 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. ---&gt; System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---&gt; System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---&gt; System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
     at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
  </code></pre>
  
  <p>Any idea where is a problem?</p>