471,310 Members | 1,024 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,310 software developers and data experts.

Calling a webservice from a client using a proxy

Hello !
I need some help with making my client app use a proxied connection.
I've set the "Proxy" property of my web referance in the following way

web.Proxy = new System.Net.WebProxy(proxyAdress, proxyPort);

is this enought or do I need to be thinking of other stuff like the
"Credential" property?

//KrippZ

Feb 23 '06 #1
3 1078
Hello Kr****@gmail.com,

What do u mean? What's wrong with that code u mentioned?
Hello !
I need some help with making my client app use a proxied connection.
I've set the "Proxy" property of my web referance in the following way
web.Proxy = new System.Net.WebProxy(proxyAdress, proxyPort);

is this enought or do I need to be thinking of other stuff like the
"Credential" property?

//KrippZ

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Feb 23 '06 #2
Thus wrote Kr****@gmail.com,
Hello !
I need some help with making my client app use a proxied connection.
I've set the "Proxy" property of my web referance in the following way
web.Proxy = new System.Net.WebProxy(proxyAdress, proxyPort);

is this enought or do I need to be thinking of other stuff like the
"Credential" property?


That depends on whether your proxy requires authentication or not.

If your code works as is, don't bother -- but please check with your infrastructure
guys before moving to production ;-)

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Feb 23 '06 #3
Thanks for the reply :) i have checked and the guys said it was fine as
it was, but thanks again.

Feb 28 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Davie | last post: by
1 post views Thread by jens Jensen | last post: by
2 posts views Thread by =?Utf-8?B?TGFycnlLdXBlcm1hbg==?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.