C# 调用 Web Service 时出现 : 407 Proxy Authentication Required错误的解决办法

            // 记得 using  System.Net;

       System.Net.WebProxy myProxy = new System.Net.WebProxy("localhost:9099", true); myProxy.Credentials = CredentialCache.DefaultCredentials; wsTest.Service client = new wsTest.Service(); client.Proxy = myProxy; string rtnValue = client.HelloWorld();
原文地址:https://www.cnblogs.com/wuyifu/p/3269779.html