我开发了一个返回xElements的Web服务。
在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.
这里有错误desc我正在获取服务器的主机名,而在端点等中已经提到了注册的站点名称。
答案 0 :(得分:0)