Calling a webservice from a client using a proxy

  • Thread starter Thread starter KrippZ
  • Start date Start date
K

KrippZ

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
 
Hello (e-mail address removed),

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 Nietzsch
 
Thus wrote (e-mail address removed),
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,
 
Thanks for the reply :) i have checked and the guys said it was fine as
it was, but thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top