This documentation is archived and is not being maintained.

ServiceDescriptionReflector.Reflect Method

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

[Visual Basic]
Public Sub Reflect( _
   ByVal type As Type, _
   ByVal url As String _
)
[C#]
public void Reflect(
 Type type,
 string url
);
[C++]
public: void Reflect(
 Type* type,
 String* url
);
[JScript]
public function Reflect(
   type : Type,
 url : String
);

Parameters

type
The Type of the class or interface to reflect.
url
The address (URL) of the XML Web service.

Remarks

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 http://www.w3.org/TR/wsdl/.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ServiceDescriptionReflector Class | ServiceDescriptionReflector Members | System.Web.Services.Description Namespace

Show: