[英]wcf client through proxy
hay all. 干草全部。 maybe you have an answer i have a client that need to go to my service but he is using proxy server, i have problem with the ssl connection. 也许您有一个答案,我有一个需要使用我的服务的客户端,但他使用的是代理服务器,我与ssl连接有问题。 i have read a lot of answers, but what do i have to use in the end? 我已经阅读了很多答案,但是最后我必须使用什么?
<system.net>
<defaultProxy useDefaultCredentials="true" >
</defaultProxy>
</system.net>
or something else ? 或者是其他东西 ? thank you 谢谢
Yes in client configuration add: 是,在客户端配置中添加:
<defaultProxy useDefaultCredentials="true">
<proxy bypassonlocal="True" proxyaddress="http://..." />
</defaultProxy>
And make sure that binding has useDefaultWebProxy="true" (should be default value). 并确保绑定具有useDefaultWebProxy =“ true”(应为默认值)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.