【发布时间】:2012-09-11 20:17:25
【问题描述】:
当我在http://tridion_ip/webservices/CoreService2011.svc 访问 Tridion 核心服务 URL 时,我得到一个运行时错误。我直接从 CMS 服务器访问 URL。
找不到与方案 https 匹配的基地址 端点
当我查看 IIS 时,我可以看到 /webservices/ 目录显示以下核心服务文件:
- CoreService.svc
- CoreService2011.svc
- Web.config
我应该在那个地址看到一个网络服务页面吗?还是这是预期的行为?
编辑:输出安全元素如下:
<wsHttpBinding>
<binding name="CoreService_wsHttpBinding" transactionFlow="true" maxReceivedMessageSize="10485760">
<readerQuotas maxStringContentLength="10485760" maxArrayLength="10485760" />
<!--
<security mode="Message">
<message clientCredentialType="Windows" />
</security>
-->
<!-- For LDAP authentication of message credentials, use the following settings: -->
<security mode="TransportWithMessageCredential">
<message clientCredentialType="UserName" />
</security>
</binding>
【问题讨论】:
-
您到底收到了什么运行时错误?
-
tridion 显示一般运行时错误:“/webservices”应用程序中的服务器错误。运行时错误描述:服务器上发生应用程序错误。此应用程序的当前自定义错误设置阻止远程查看应用程序错误的详细信息(出于安全原因)。但是,本地服务器计算机上运行的浏览器可以查看它。
-
基本上服务器连接有问题,需要一些配置,而不是客户端......
-
卢卡斯,它也可能是客户端。如果服务器只允许 HTTPS 连接,那么您的客户端也需要 HTTPS 绑定。如果您在同一台机器上,您可以先尝试使用 NetTcp 连接。
标签: wcf configuration wcf-binding tridion