Select the product you need help with
PRB: Error on .NET client that consumes a Web service through an HTTP proxy serverArticle ID: 318140 - View products that this article applies to. This article was previously published under Q318140 On This PageSYMPTOMSNote The following .NET Framework Class Library namespace is
referenced in this article: System.Net When you use a .NET client to consume a Web service through an HTTP proxy server, you may receive the following error message: The underlying connection
was closed: The remote name could not be resolved. CAUSE An HTTP proxy server exists between the Web service and the
.NET client, and the proper proxy settings have not been configured. RESOLUTION To resolve this problem, supply the proper proxy
configuration settings to the .NET client. MORE INFORMATION The following are the default settings in the
Machine.config file: To specify the proxy server, set the Machine.config or Web.config file settings as follows: Proxy servers that require NTLM authenticationTo set NTML authentication for the proxy server, use the following sample code:REFERENCES For more information, see the following Microsoft Developer
Network (MSDN) Web sites: IWebProxy Interface
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://msdn.microsoft.com/en-us/library/system.net.iwebproxy.aspx)
<defaultProxy> Element
(http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx)
307220
(http://support.microsoft.com/kb/307220/
)
How to configure an XML Web service client by using the .NET Framework to work with a proxy server
Properties | Article Translations
|


Back to the top








