System.Xml.Serialization.XmlSchemaImporter Class

Generates internal mappings to .NET Framework types for XML schema element declarations, including literal XSD message parts in a WSDL document.

See Also: XmlSchemaImporter Members

Syntax

public class XmlSchemaImporter : SchemaImporter

Remarks

The System.Xml.Serialization.XmlSchemaImporter class is used by the Web Services Description Language Tool (Wsdl.exe) and the System.Web.Services.Description.ServiceDescriptionImporter class while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document. The class is also used by the Web Services Description Language Tool (Wsdl.exe) while generating classes from XML Schema Definition (XSD) documents. Instead of using this class directly, use Wsdl.exe or Xsd.exe.

The System.Xml.Serialization.XmlSchemaImporter class has methods to generate internal mappings to .NET Framework types for elements defined in an XSD document or as parts in a WSDL document. The following list shows when the class is used by Wsdl.exe:

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0