如果遇到以上问题,请拷贝以下代码到你的桌面应用程序的app.config 文件中
<system.net>
<defaultProxy enabled="false" useDefaultCredentials="false">
<proxy/>
<bypasslist/>
<module/>
</defaultProxy>
</system.net>
from:https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/ac3261e2-3983-4df8-b773-c2e06b783094/error-creating-the-web-proxy-exception-calling-web-service-from-a-net-executable-on-a-network?forum=windowssecurity