为ws2007FederationHttpBinding配置SSL(https)端点404未找到端点

时间:2012-01-13 16:15:15

标签: wcf ssl https wif ws-federation

另一个与WIF相关的问题 - 任何人都可以指出我如何在wcf中为ws2007FederationHttpBinding端点配置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>

真的很难看到该怎么做。

马特

0 个答案:

没有答案