W
Wild Wind
Hello,
I have an application which calls a web service across the
Internet from a client machine.
The site that I have deployed the application to is such that
to browse the Internet using a web browser, a person needs to
do the following:
(a) ensure that a proxy server address is specified;
(b) enter a username and password into an authentication dialog
that comes up whenever they start up the web browser.
I am finding that as a result, I cannot connect at all to the
Internet directly.
I have deployed the same application on other sites that use
a proxy server to connect to the Internet by specifying the
proxy server address in my config file and using this address
to create a proxy for the web service using the following code:
Dim WSProxy as MyWebServiceProxy
WSProxy.Proxy = New WebProxy(proxyServerAddresss, True, _
Nothing, CredentialCache.DefaultCredentials)
WSProxy.CallWebServiceMethod()
However, this works at client sites where I *don't* have to specify
further authentication before web browsing. In other words, it
*doesn't* work for the client site first mentioned above.
My questions are:
When someone supplies the authentication details when they want
to use the web browser, are those details added to a CredentialCache?
If so, can I get at this CredentialCache to get these credentials?
If not, should I create my own credentials based on the username,
password and domain that the user normally enters when accessing
the web via a web browser?
TIA,
I have an application which calls a web service across the
Internet from a client machine.
The site that I have deployed the application to is such that
to browse the Internet using a web browser, a person needs to
do the following:
(a) ensure that a proxy server address is specified;
(b) enter a username and password into an authentication dialog
that comes up whenever they start up the web browser.
I am finding that as a result, I cannot connect at all to the
Internet directly.
I have deployed the same application on other sites that use
a proxy server to connect to the Internet by specifying the
proxy server address in my config file and using this address
to create a proxy for the web service using the following code:
Dim WSProxy as MyWebServiceProxy
WSProxy.Proxy = New WebProxy(proxyServerAddresss, True, _
Nothing, CredentialCache.DefaultCredentials)
WSProxy.CallWebServiceMethod()
However, this works at client sites where I *don't* have to specify
further authentication before web browsing. In other words, it
*doesn't* work for the client site first mentioned above.
My questions are:
When someone supplies the authentication details when they want
to use the web browser, are those details added to a CredentialCache?
If so, can I get at this CredentialCache to get these credentials?
If not, should I create my own credentials based on the username,
password and domain that the user normally enters when accessing
the web via a web browser?
TIA,