System.Web.Services.Description.SoapExtensionReflector Class

Provides a common interface and functionality for classes to add SOAP extension information to a System.Web.Services.Description.ServiceDescription object on a per-method basis.

See Also: SoapExtensionReflector Members


public abstract class SoapExtensionReflector


The abstract System.Web.Services.Description.SoapExtensionReflector class exposes an abstract method, SoapExtensionReflector.ReflectMethod. This abstract method allows a derived class to add descriptions of SOAP extensions when reflecting a Web method into objects that are placed in a System.Web.Services.Description.ServiceDescription object. The method itself is not an input. The descriptions get added for all Web methods belonging to a specified binding that produces a System.Web.Services.Description.ServiceDescription.

You can use a System.Web.Services.Description.ServiceDescription to generate a Web Services Description Language (WSDL) document via the erload:System.Web.Services.Description.ServiceDescription.Write method. The System.Web.Services.Description.ServiceDescriptionImporter class and related classes can also use a System.Web.Services.Description.ServiceDescription to generate client proxy code or abstract server code.

Use a class derived from the System.Web.Services.Description.SoapExtensionReflector class in conjunction with a class derived from the abstract System.Web.Services.Protocols.SoapExtension class to extend run-time processing of SOAP messages on the client or service.

You can specify System.Web.Services.Description.SoapExtensionReflector in a configuration file via the <soapExtensionReflectorTypes> element and its child add element. You can also apply the configuration to an ASP.NET Web application that publishes a Web service.


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