异常总结1

由于 ContractFilter 在 EndpointDispatcher 不匹配,因此 Action 为“http://tempuri.org/ICodeItemService/StaticTime”的消息无法在接收方处理。这可能是由于协定不匹配(发送方和接收方 Action 不匹配)或发送方和接收方绑定/安全不匹配。请检查发送方和接收方是否具有相同的协定和绑定(包括安全要求,如 Message、Transport、None)。

 

这种情况可能是wcf地址配置错误或者两边的dll不一致

原文地址:https://www.cnblogs.com/kingCpp/p/4586075.html