【发布时间】:2012-07-18 12:44:09
【问题描述】:
我开发了一个返回 xElements 的网络服务。
在 WCF 服务页面(要测试此服务使用 svcutil.exe........)WSDL 链接是
https://host_system_name.domain.com/Feed/Service.svc,
changed it to
https://regName.domain.com/Feed/Service.svc.
by adding <useRequestHeadersForMetadataAddress/> in config.
现在 wsdl 正在打开(不是前面段落中提到的 b4),但同时使用相同的服务.....
ERROR WHILE IMPLEMENTING SERVICE:
The message with To 'https://host_system_name.domain.com/Feed/Service.svc' cannot be
processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher.
Check that the sender and receiver's EndpointAddresses agree.
这里在错误描述中我正在获取服务器的主机名,而在端点等中提到了已注册的站点名称。
【问题讨论】: