Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XmlSchemaImporter Class

This class supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Namespace: System.Xml.Serialization
Assembly: System.Xml (in system.xml.dll)

public class XmlSchemaImporter : SchemaImporter
public class XmlSchemaImporter extends SchemaImporter
public class XmlSchemaImporter extends SchemaImporter
Not applicable.

The XmlSchemaImporter class is used by the Web Services Description Language Tool (Wsdl.exe) and the 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 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:

  • A WSDL document specifies literal use, where the content of SOAP message parameters and return values (or request and response documents) is literally specified with XML schema definitions.

  • A WSDL document specifies the .NET Framework's non-SOAP implementations of Web services via the HTTP-GET and HTTP-POST operations.

System.Object
   System.Xml.Serialization.SchemaImporter
    System.Xml.Serialization.XmlSchemaImporter

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2015 Microsoft