Populates System.Xml.Schema.XmlSchema objects with XML schema element declarations that are found in type mapping objects.
See Also: XmlSchemaExporter Members
The System.Xml.Serialization.XmlSchemaExporter class provides a programmatic representation of an XML Schema Definition language (XSD) document. Instead of using System.Xml.Serialization.XmlSchemaExporter directly, use the System.Web.Services.Description.ServiceDescriptionReflector class or the XML Schema Definition Tool (Xsd.exe).
The System.Web.Services.Description.ServiceDescriptionReflector class creates System.Web.Services.Description.ServiceDescription objects from classes that are identified as Web services. It uses the System.Xml.Serialization.XmlSchemaExporter class when a Web service class specifies:
Literal use, indicating that the contents of SOAP message parameters and return values (or request and response documents) are literally specified with XML schema definitions.
Non-SOAP implementations of Web services using the HTTP-GET and HTTP-POST operations.
Xsd.exe generates XML schema documents from one or more types in a run-time assembly file using the System.Xml.Serialization.XmlSchemaExporter class and reflection.