ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 300
نمايش فراداده

ServiceDescriptionReflector

System.Web.Services.Description (system.web.services.dll)class

This class allows you to dynamically create a ServiceDescription object that represents a "live" web service. To use this class, invoke the Reflect( ) method with the web service URL as a string. The WSDL document for the web service will be added to the ServiceDescriptions collection. You can also retrieve any associated XML schemas from the Schemas collection.

public class 

ServiceDescriptionReflector { // Public Constructors public

ServiceDescriptionReflector ( ); // Public Instance Properties public XmlSchemas

Schemas {get; } public ServiceDescriptionCollection

ServiceDescriptions {get; } // Public Instance Methods public void

Reflect (Type

type , string

url ); }