Required Proxy Server Settings
Publishing Rules of the ISA Server When It Is Installed on a Proxy Server
Set the publishing rule for the ISA server to redirect all
the incoming requests to the internal Web server. The Listener listens on port
80 and then redirects all the incoming requests to port 6789.
Note You can configure your proxy server to redirect incoming requests
to any port other than port 6789.
Web Site Configuration on the Internal Web Server
Configure the default Web site to run on port 6789 on the internal
Web server.
Steps to Reproduce the Behavior
Create an ASP.NET Web Service Project on a Computer (Internal Web Server) That Is Inside a Proxy Network
- Start Visual Studio .NET.
- Use Visual C# .NET or use Visual Basic .NET to create an
ASP.NET Web Service project that is named
WebServiceProxy.
By default, the Service1.asmx
file is created. - In Solution Explorer, right-click
Service1.asmx, and then click View
Code.
- Uncomment the HelloWorld Web service
method.
- On the Build menu, click Build
Solution.
- Configure the default Web site to run on port 6789.
To do this, follow these steps:
- Click Start, and then click
Run.
The Run dialog box is
displayed. - Type
Inetmgr in the Open box, and then click OK.
- In the Internet Information Services Manager window,
click your Computer Name.
- Click the Web Sites folder.
- Under the Web Sites folder, right-click the
Default Web Site folder. Click
Properties.
- On the
Default Web Site Properties dialog box, click the Web Site tab.
- In the TCP port text
box, type
6789.
- Click OK to close the Default
Web Site Properties dialog box.
- To verify that the WebServiceProxy Web service is working
correctly, use your Web browser to visit the following URL:
http://internalwebserver:6789/WebServiceProxy/Service1.asmx
Note In this URL, internalwebserver is a
placeholder for the name of your internal Web server.
Create an ASP.NET Web Application Project on a Computer That Is Outside the Proxy Server
- Start Visual Studio .NET.
- Use Visual C# .NET or use Visual Basic .NET to create an
ASP.NET Web Application project that is named
Project1.
- On the Build menu, click Build
Solution.
Add a Web Reference to the Web Service
- In Solution Explorer, right-click
References, and then click Add Web Reference.
The Add Web Reference dialog box is
displayed. - Type
http://wsproxyserver/WebServiceProxy/Service1.asmx
in the Address box, and then click
Go.
- When the proxy server prompts you for authentication
credentials, type your UserName
and type your Password in the
corresponding text boxes.
You receive the error message that is mentioned in the
"Symptoms" section of this article.
Note If the IP address in the error message contains the port number
of the internal Web server, configure the publishing properties of the ISA
server to display the IP address of the proxy server instead of displaying the
IP address of the internal Web server.