【发布时间】:2011-06-20 19:25:20
【问题描述】:
我的简单 HelloWorld.asmx 工作正常并将我的凭据传递到数据库服务器,但我的 HelloWorld.svc 尝试使用 Web 服务器凭据登录。我有
<identity impersonate="true" />
在 web.config 和 WCF 服务的此绑定中:
<basicHttpBinding>
<binding>
<security mode="TransportCredentialOnly">
<transport clientCredentialType="Windows" />
</security>
</binding>
</basicHttpBinding>
asmx 和 svc 都在同一个 IIS7 .Net 4 Web 服务器上。 WCF 还需要模拟什么?
【问题讨论】:
标签: wcf web-services impersonation