title: wcf The provided URI scheme 'http' is invalid; expected 'https'
body: <p>im tring to create fileTransfer base on this <a href="http://www.codeproject.com/Articles/166763/WCF-Streaming-Upload-Download-Files-Over-HTTP" rel="noreferrer">post</a></p>
  
  <p>when i test it on local it work great</p>
  
  <p>i set my service on the server using iis without ssl</p>
  
  <p>this is my server config:</p>
  
  <pre><code>&lt;system.serviceModel&gt;
  &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="false" multipleSiteBindingsEnabled="true"/&gt;
  &lt;bindings&gt;
    &lt;wsHttpBinding&gt;
      &lt;binding name="TransferService" maxReceivedMessageSize="2147483647"&gt;
        &lt;readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/&gt;
        &lt;security mode="None" /&gt;
      &lt;/binding&gt;
    &lt;/wsHttpBinding&gt;
  &lt;/bindings&gt;
  
  &lt;services&gt;
    &lt;service behaviorConfiguration="TransferServiceBehavior" name="WcfFTP.FtpService"&gt;
      &lt;endpoint address="FtpService.svc" binding="wsHttpBinding" bindingConfiguration="TransferService" contract="WcfFTP.IFileTransfer"/&gt;
      &lt;endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex"/&gt;
    &lt;/service&gt;
  &lt;/services&gt;
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
      &lt;behavior name="TransferServiceBehavior"&gt;
        &lt;serviceMetadata httpGetEnabled="true"/&gt;
        &lt;dataContractSerializer maxItemsInObjectGraph="2147483647"/&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;
        &lt;serviceThrottling maxConcurrentCalls="500" maxConcurrentSessions="500" maxConcurrentInstances="500"/&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  </code></pre>
  
  <p></p>
  
  <p>and thats my client:</p>
  
  <pre><code> &lt;system.serviceModel&gt;
  &lt;bindings&gt;
    &lt;wsHttpBinding&gt;
      &lt;binding name="WSHttpBinding_IFileTransfer" closeTimeout="00:01:00"
        openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
        bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
        maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
        textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"&gt;
        &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
          maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
        &lt;reliableSession ordered="true" inactivityTimeout="00:10:00"
          enabled="false" /&gt;
  
        &lt;security mode="TransportWithMessageCredential"&gt;
          &lt;transport clientCredentialType="Digest" proxyCredentialType="None"
            realm="" /&gt;
          &lt;message clientCredentialType="Windows" negotiateServiceCredential="true" /&gt;
        &lt;/security&gt;
      &lt;/binding&gt;
    &lt;/wsHttpBinding&gt;
  &lt;/bindings&gt;
  &lt;client&gt;
    &lt;endpoint address="http://www.myhost.com/WsFTP/FtpService.svc"
      binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IFileTransfer"
      contract="FtpWcfClient.IFileTransfer" name="WSHttpBinding_IFileTransfer" /&gt;
  &lt;/client&gt;
  </code></pre>
  
  <p></p>
  
  <p>iv been tring some help on the net with this security issue but this error seems to be strang</p>