Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

webproxy authentication

Status
Not open for further replies.

zdanev

Programmer
Apr 15, 2003
5
US
I'm trying to access a web service thru a webproxy and I can't get it working (without the proxy everything is working just fine). Here is my code:

WebProxy wp = new WebProxy(" true);
NetworkCredential nc = new NetworkCredential("myname", "mypassword");
wp.Credentials = nc;
ws = new MyWebservice();
ws.Proxy = wp;

Does anybody see anything wrong?

Thanks,

ZD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top