This documentation is archived and is not being maintained.

DiscoveryRequestHandler.ProcessRequest Method

Handles an HTTP request for a discovery document, which is serialized to the HTTP response.

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in

public void ProcessRequest (
	HttpContext context
public final void ProcessRequest (
	HttpContext context
public final function ProcessRequest (
	context : HttpContext
Not applicable.



The Request and Response properties of the HttpContext class are used for input and output, respectively.

The ProcessRequest method searches for applicable files within the file system path corresponding to the HTTP request's Uniform Resource Locator (URL). The search may extend to subdirectories and switch target file extensions depending on what it finds in the root search directory.

The search process populates the DiscoveryDocument object's References property with files that are found.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0