473,387 Members | 1,365 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 3566

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

Similar topics

0
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...
5
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...
15
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...
6
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 ...
10
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;...
8
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...
4
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...
10
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...
0
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.