ServiceDescriptionReflector.Reflect Method (Type, String)


Creates a ServiceDescription including the specified Type for the XML Web service at the specified URL.

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public void Reflect(
	Type type,
	string url


Type: System.Type

The Type of the class or interface to reflect.

Type: System.String

The address (URL) of the XML Web service.

This method examines the metadata for the XML Web service at the specified URL. If the specified Type is not supported, it modifies the Web Services Description Language (WSDL) file corresponding to the ServiceDescription describing the XML Web service, in order to include that type.

For more information about Web Services Description Language (WSDL), see the specification at

.NET Framework
Available since 1.1
Return to top