Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SoapSchemaImporter Class
Collapse the table of content
Expand the table of content

SoapSchemaImporter Class

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

Used within the .NET Framework to generate internal mappings to .NET Framework types for SOAP-encoded message parts in a WSDL document.

System.Object
  System.Xml.Serialization.SchemaImporter
    System.Xml.Serialization.SoapSchemaImporter

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

public class SoapSchemaImporter : SchemaImporter

The SoapSchemaImporter type exposes the following members.

  NameDescription
Public methodSoapSchemaImporter(XmlSchemas)Initializes a new instance of the SoapSchemaImporter class, specifying XmlSchema objects representing the XML schemas used by SOAP encoded messages defined in a WSDL document.
Public methodSoapSchemaImporter(XmlSchemas, CodeIdentifiers)Initializes a new instance of the SoapSchemaImporter class, specifying XmlSchema objects representing the XML schemas used by SOAP encoded messages, plus classes being generated for bindings defined in a WSDL document.
Public methodSoapSchemaImporter(XmlSchemas, CodeGenerationOptions, ImportContext)Initializes a new instance of the SoapSchemaImporter class specifying the schemas, compiler options, and the context of the schemas.
Public methodSoapSchemaImporter(XmlSchemas, CodeIdentifiers, CodeGenerationOptions)Initializes a new instance of the SoapSchemaImporter class specifying the schemas, compiler options, and names of related code entities.
Public methodSoapSchemaImporter(XmlSchemas, CodeGenerationOptions, CodeDomProvider, ImportContext)Initializes a new instance of the SoapSchemaImporter class specifying the schemas, compiler options, and names of related code entities.
Top

  NameDescription
Public propertyExtensionsGets a collection of schema importer extensions. (Inherited from SchemaImporter.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodImportDerivedTypeMappingGenerates internal type mapping information for the type of a SOAP-encoded element part defined in a WSDL document where a base type is specified.
Public methodImportMembersMapping(String, String, SoapSchemaMember)Generates internal type mapping information for a single SOAP-encoded element part defined in a WSDL document.
Public methodImportMembersMapping(String, String, SoapSchemaMember[])Generates internal type mapping information for the element parts of a SOAP-encoded message defined in a WSDL document.
Public methodImportMembersMapping(String, String, SoapSchemaMember[], Boolean)Generates internal type mapping information for the element parts of a SOAP-encoded message defined in a WSDL document.
Public methodImportMembersMapping(String, String, SoapSchemaMember[], Boolean, Type, Boolean)Generates internal type mapping information for the element parts of a SOAP-encoded message defined in a WSDL document.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

The SoapSchemaImporter 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. Instead of using this class directly, use Wsdl.exe.

The SoapSchemaImporter class has methods to generate internal mappings to .NET Framework types for part elements defined in a WSDL document. The class is used only when a WSDL document specifies SOAP encoding, as described in Section 5 of the SOAP 1.1 specification.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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