5

もう1つのWIF関連の問題-ws2007FederationHttpBindingエンドポイント用にwcfでhttpsを構成する方法を誰かに教えてもらえますか。証明書とバインディングはすべてIISで設定されていますが、エンドポイントに接続しようとすると404エラーが発生します。私のバインディングはこのように見えます

<bindings>
    <ws2007FederationHttpBinding>
        <binding name="BindingConfigName">
          <security mode="TransportWithMessageCredential">
                    <message establishSecurityContext="false">
              <issuerMetadata address="https://identity.localhost/issue/wstrust/mex" />
              <claimTypeRequirements>
                <add claimType="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" isOptional="true" />
                <add claimType="http://schemas.microsoft.com/ws/2008/06/identity/claims/role" isOptional="true" />
              </claimTypeRequirements>
            </message>
          </security>
        </binding>
    </ws2007FederationHttpBinding>
</bindings>

エンドポイントは次のようになります

<endpoint address="https://services.localhost/MyService.svc" binding="ws2007FederationHttpBinding"
      bindingConfiguration="BindingConfigName"
      bindingNamespace="MyNamespace"
      contract="IServiceContract">
</endpoint>

何をすべきかを見るのに本当に苦労しています。

マット

4

0 に答える 0