472,791 Members | 1,451 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,791 software developers and data experts.

Accessing Web Service Through ISA Server with Proxy enabled

This query is similar to some others on this discussion group, but none of
them were resolved! Can anybody help:

The issue is related to integrated authentication. First I'll describe a
simple scenario not involving ISA server, which works as expected:

The web service is hosted on a server in the same domain as my workstation
with anonymous access denied, and integrated authentication enabled.

If I access the web service using the following code snippet, everything
fails with an authentication error, AS EXPECTED:

oWebService = New {my web service}
oWebService.Url = {url of deployed web service}

If I set credentials, and access the web service using the following code
snippet, everything succeeds as expected:

oWebService = New {my web service}
oWebService.Url = {url of deployed web service}
oWebService.Credentials = System.Net.CredentialCache.DefaultCredentials

So far so good. And now the problem scenario:

Now place ISA server in the way, configured as an outgoing proxy between my
workstation and the hosted web service. ISA server is configured to require
integrated authentication, and the HTTP redirector configured to use the Web
Proxy service.

If I now access the web service using the first code snippet, everything
fails with a 407 authentication error. Again this is as expected:

oWebService = New {my web service}
oWebService.Url = {url of deployed web service}

However, if I now set credentials, and use the second code snippet:

oWebService = New {my web service}
oWebService.Url = {url of deployed web service}
oWebService.Credentials = System.Net.CredentialCache.DefaultCredentials

This has no effect. I still get a 407 authentication error. Examining the
ISA logs it appears that the access to the web service is still being
attempted with an anonymous connection.

Very grateful for any answers, or suggestions. It is ISA Server 2000 with SP2.

Nov 21 '05 #1
0 3526

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: George | last post by:
Hello, I'm running an ASPX application "WebApplication1" which consumes a web service (service1.asmx) hosted on a machine with IP (128.1.7.x) . The web service is located in the intranet. The...
by: Khalique | last post by:
Hi everyone, I Hope that someone will be able to give me a hint to the solution to my problem. I have developed a web service (vb.net) that needs to access the folders / files and copy files to...
by: Joseph Geretz | last post by:
OK, I'll admit it up front - I just don't get it. Here's our previous VS2003 development model. Developers develop the WS solution on their own workstations, using their own IIS web servers...
by: John | last post by:
Hi My app is running on a windows 2000 server with isa 2000 installed. How can it access an external sql server (using its ip) from within the isa 2000 firewall/proxy via code? Thanks ...
by: Ben | last post by:
I'm trying to access a c# web service from a web form. I set up the web reference proxy object as follows: proxy.PreAuthenticate = true; proxy.Credentials = CredentialCache.DefaultCredentials;...
by: GaryDean | last post by:
I have a Wizard page and need to affect the next and previous buttons from my code-behind. I've googled around and found two solutions, and neither appear to work. I can access the SideBarList...
by: Jon | last post by:
I wrote a VS 2005 C# express programme that accesses a web service. It works fine when there's a direct connection to the internet, but on two different PCs with internet access via a proxy, I get...
by: Anton | last post by:
Hi, when accessing a secured 3rd party webservice i'm getting a 401 HTTP Statuscode (unauthorized). When entering the url in a browser and entering the username and password manually, the wsdl is...
by: martin.tittensor | last post by:
Hi, I've written a web service which needs to be accessed from mutiple customer sites and by non-technical users. The problem is that most end user's companies employ a firewall/proxy server to...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.