【发布时间】:2020-05-12 07:00:06
【问题描述】:
我尝试使用与@Misiu 相同的服务,例如: Custom MessageEncoder add attributes to message without modifying structure
我知道那个帖子有 3 年,但我希望有人知道答案。
我面临同样的问题。
System.ServiceModel.CommunicationException:向https://dz3.swd.zbp.pl/broker3/services/QueryDz 发出 HTTP 请求时出错。这可能是由于在 HTTPS 情况下未使用 HTTP.SYS 正确配置服务器证书。这也可能是由于客户端和服务器之间的安全绑定不匹配造成的。 ---> System.Net.WebException:底层连接已关闭:发送时发生意外错误。 ---> System.IO.IOException: Unable to read data from the transport connection: 一个现有的连接被远程主机强行关闭。 ---> System.Net.Sockets.SocketException: 现有连接被远程主机强行关闭
【问题讨论】:
标签: c# .net wcf soap wcf-security