Web Service Proxy Redirect Issue
I am developing an application for a client that access a public web service. The clients network utilizes a HTTP proxy. Each web request gets redirected to a proxy page that authenticates the user and then redirects them back to the original request. My sample code looks like this:
Service.AllowAutoRedirect = true;
Service.UseDefaultCredentials = true;
Service.HelloWorld();
I can trace the network traffic and see the following steps happen during the call to HelloWorld():
1) The proxy redirects the request to an authentication page using ResponseCode 300.
2) The client automatically follows the redirect.
3) The proxy returns an authentication page using ResponseCode 401.
4) The client responds with the authentication credentials.
5) the proxy redirects to the original request using ResponseCode 300.
The problem is the client doesn't follow this last redirect.
Any help with this is greatly appreciated.
-Darrell

