开发者

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. 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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜