You will need to set the Proxy property of the web service proxy class. More
at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemnetwebproxyclasstopic.asp
Essentially:
ProxyClass myProxy = new ProxyClass();
myProxy.Url = "your URL for web service";
myProxy.Proxy = new WebProxy("your proxy server:port", true);
// Set your credentials to the proxy server
myProxy.Proxy.Credentials = CredentialCache.DefaultCredentials;
Hope that helps.

Signature
Manohar Kamath
Editor, .netWire
www.dotnetwire.com

Signature
Check my blog out at:
http://sgomez.blogspot.com
Hey Manohar, thanks for your quick answer...
I changed my coded and I'll paste it here...
Dim objWS As New MyWebService
objWS.Proxy = New WebProxy("PROXY:80", True)
Dim objCred As New NetworkCredential
objCred.UserName = "sgomez"
objCred.Password = "password"
objCred.Domain = "pjtest"
objWS.Proxy.Credentials = objCred
Dim strResult As String = objWS.HelloWorld()
MsgBox(strResult)
The thing is I still get the same error, what could it be???
Thanx

Signature
Check my blog out at:
http://sgomez.blogspot.com
> You will need to set the Proxy property of the web service proxy class. More
> at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemnetwebproxyclasstopic.asp
> Essentially:
>
[quoted text clipped - 13 lines]
>
> TIA
Manohar Kamath - 15 Mar 2005 21:27 GMT
Try the proxy serevr name with the protocol.
New WebProxy(http://PROXY:80, true)

Signature
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
> Hey Manohar, thanks for your quick answer...
> I changed my coded and I'll paste it here...
[quoted text clipped - 19 lines]
> More
> > at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemnetwebproxyclasstopic.asp
> > Essentially:
> >
[quoted text clipped - 14 lines]
> >
> > TIA
Sebasti?n::PJ - 16 Mar 2005 14:59 GMT
Still got the same error...

Signature
Check my blog out at:
http://sgomez.blogspot.com
> Try the proxy serevr name with the protocol.
>
[quoted text clipped - 23 lines]
> > More
> > > at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlr
fsystemnetwebproxyclasstopic.asp
> > > Essentially:
> > >
[quoted text clipped - 15 lines]
> > >
> > > TIA