httpバインディングで正常に動作していたWCFサービスがあります。 SSLを使用するように更新しようとしましたが、次のエラーが表示されます。SSLを要求するようにWCFサービスを変更する
"バインディングWSHttpBindingを持つエンドポイントのスキームhttpに一致するベースアドレスを見つけることができませんでした。
これは、このチェックボックスをオフにすると、IIS 7.5で「SSLを要求」に設定した場合にのみ発生します。
は、ここに私の設定
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehavior" >
<dataContractSerializer maxItemsInObjectGraph="2147483646"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false" />
<serviceMetadata httpGetEnabled="false" httpsGetEnabled="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<wsHttpBinding>
<binding name="wsHttpEndpointBinding">
</binding>
</wsHttpBinding>
</bindings>
<services>
<service behaviorConfiguration="ServiceBehavior" name="WcfService1.Service1">
<host>
<baseAddresses>
<add baseAddress="http://localhost/WcfService1/"/>
</baseAddresses>
</host>
<endpoint address="" binding="wsHttpBinding" bindingConfiguration=""
name="wsHttpEndpoint" contract="WcfService1.IService1" />
<endpoint address="mex" binding="mexHttpsBinding" bindingConfiguration=""
name="MexHttpsBindingEndpoint" contract="IMetadataExchange" />
</service>
</services>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
私が試したallsortsと何が私を得るように思われる、任意のヘルプは大歓迎ですよ!
<bindings>
<wsHttpBinding>
<binding name="wsHttpEndpointBinding">
<security mode="Transport" />
</binding>
</wsHttpBinding>
</bindings>
と参照という設定の名前にそのbindingConfiguration
属性を設定することによって、あなたのendpoint
での構成:
私はあなたのお勧めに続き、サービスは現在httpsで動作しています!ご助力ありがとうございます! – WillMcKill