title: C# SOAP WebService: HTTPS endpoint configuration
body: <p>In a C# service i must add a Web Service reference for calling some metods.
  The testing URL use an HTTPS protocol, so I'm try to edit my endpoint to call new address:</p>
  
  <pre><code>&lt;system.serviceModel&gt;
      &lt;bindings&gt;
        &lt;basicHttpBinding&gt;
          &lt;binding name="fooSoap" /&gt;
        &lt;/basicHttpBinding&gt;
      &lt;/bindings&gt;   
      &lt;client&gt;
        &lt;endpoint address="http://x.x.x.x/WS_Foo/Foo.asmx"
          binding="basicHttpBinding" bindingConfiguration="fooSoap"
          contract="WSFooReferences.fooSoap" name="fooSoap" /&gt;
      &lt;/client&gt;       
  &lt;/system.serviceModel&gt;
  </code></pre>
  
  <p>And so, I'm trying to call my method in c#:</p>
  
  <pre><code>WSFooReferences.fooSoapClient fooWS = new WSFooReferences.fooSoapClient();
  int iRetCode = fooWS.Ping("ID12345");
  </code></pre>
  
  <p>But I've this error:</p>
  
  <p><strong><em>The provided URI scheme 'http' is invalid; expected 'https'</em></strong></p>
  
  <p>How I can edit my endpoint configuration fot this case?</p>
  
  <p>T'ks!</p>