Article ID: 307220 - Last Review: July 31, 2003 - Revision: 6.0 HOW TO: Configure an XML Web Service Client by Using the .NET Framework to Work with a Proxy ServerThis article was previously published under Q307220 On This PageSUMMARY This step-by-step article describes how to allow an XML Web
service client application that is built with the .NET runtime to connect to a
service through a Hypertext Transfer Protocol (HTTP) proxy
server. RequirementsThe following items describe the recommended hardware, software, network infrastructure, skills and knowledge, and service packs that you need:
Configure the HTTP Proxy Settings for Desktop and ASP.NET ApplicationsGenerally, the .NET runtime uses the default proxy settings that have been set for Microsoft Internet Explorer when it is used from a standard desktop application. If you can browse to the Web site where your Web service is located, you can make calls with the .NET runtime without making a change because your settings are retrieved from where they are stored in your user profile.The .NET runtime does not, however, support automatic proxy discovery scripts. If Internet Explorer uses the automatic configuration options to determine the HTTP proxy settings, you can manually configure the global HTTP proxy settings in the Machine.config file. Likewise, if you are using the .NET runtime to access an XML Web service in a situation in which a user profile is not loaded (for example, if you call an XML Web service from an ASP.NET page), you must configure the computer settings in the Machine.config file. To configure the HTTP proxy settings for desktop and ASP.NET applications, follow these steps:
REFERENCESFor additional
information, click the article number below to view the article in the
Microsoft Knowledge Base: 318140
(http://support.microsoft.com/kb/318140/EN-US/
)
PRB: Error .NET Client that Consumes Web Svc Through HTTP
APPLIES TO
| Article Translations
|

Back to the top
