以下の構成にバインディングを追加しました。
<services>
<service name="MyNamespace.Service.ServiceName.ServiceEndPoint">
<endpoint address="http://localhost:8012/ServiceEndPoint" binding="webHttpBinding" contract="MyNamespace.Service.ServiceName.IServiceEndPoint" behaviorConfiguration="webHttp" name="ServiceName"/>
</service>
</services>
<behaviors>
<endpointBehaviors>
<behavior name="webHttp">
<webHttp/>
</behavior>
</endpointBehaviors>
</behaviors>
エンドポイントを保護したいので、 binding="webHttpBinding" を追加しました。私が持っている対応する設定は次のとおりです。
<bindings>
<wsHttpBinding>
<binding name="ServiceName">
<security mode="Transport">
<transport clientCredentialType="Windows" />
</security>
</binding>
</wsHttpBinding>
</bindings>
しかし、これはエンドポイントを確保していないようです。Firefox でこれを試して、IE が自動的に認証されないことを確認し、firebug でヘッダーをチェックしました。
これを行うための正しい構成の方向に誰かが私を向けることができますか?
ありがとう、マット