XmlSchemaExporter Class
Assembly: System.Xml (in system.xml.dll)
The XmlSchemaExporter class provides a programmatic representation of an XML Schema Definition language (XSD) document. Instead of using XmlSchemaExporter directly, use the ServiceDescriptionReflector class or the XML Schema Definition Tool (Xsd.exe).
The ServiceDescriptionReflector class creates ServiceDescription objects from classes that are identified as Web services. It uses the 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 XmlSchemaExporter class and reflection.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.