Thanx alot for the valuable info. but i have a question about this line (that
you've included) : IWebProxy proxyObject = new WebProxy("http://isaproxy:80",
true);Â*
should i replace the "isaproxy" with the ISA Server Address on my LAN ? and
what about the post 80 ??
"Vadym Stetsyak" wrote:
> Hello, Mr.!
>
> MAH> There's a problem in my application that calls a remote web service's
> MAH> method, when it tries to connect to the webservice it displays this
> MAH> error:"The request failed with HTTP status 407: Proxy Authentication
> MAH> Required ( The ISA Server requires authorization to fulfill the
> MAH> request. Access to the Web Proxy service is denied. "
>
> MAH> How the hell can i connect to the remote webservice ?
>
> You have to use proxy authentication
>
> YouWebService srv;
>
> IWebProxy proxyObject = new WebProxy("http://isaproxy:80", true);Â*
> srv.Proxy = proxyObject;
>
> If your ISA Server uses windows authentication then you can use default credentials
> srv.UseDefaultCredentials = true;
>
> Otherwise create CredentialsCache object and add necessary Credential objects (e.g NetworkCredential class )
> then assign CredentialsCache object to srv.Credentials...
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot