我跑啓用無SSL服務器上的我的WCF服務,現在我把它移到一個啓用SSL,我收到以下錯誤:移動WCF服務IIS6啓用SSL
Could not find a base address that matches scheme http for the endpoint with binding BasicHttpBinding. Registered base address schemes are [https].
下面是我的設置:
<bindings>
<basicHttpBinding>
<binding name="basicHTTP">
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows">
</transport>
</security>
</binding>
</basicHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="basicBehavior" name="ProjectName.MyService">
<endpoint address="" binding="basicHttpBinding" bindingConfiguration="basicHTTP" contract="ProjectName.IMyService"/>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="basicBehavior">
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
</behavior>
</serviceBehaviors>
</behaviors>
我該如何解決這個錯誤?
我已經基本綁定上述 – ElenaDBA
定義的問題,即定義你的終點? – Sparrow
查看我在原始問題中發佈的web.config文件 – ElenaDBA