System.Xml.Serialization.XmlSchemaImporter.ImportMembersMapping Method

Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document.

Syntax

public XmlMembersMapping ImportMembersMapping (System.Xml.XmlQualifiedName[] names)

Parameters

names
An array of type System.Xml.XmlQualifiedName that specifies the names of the message parts.

Returns

An System.Xml.Serialization.XmlMembersMapping that represents the .NET Framework type mappings for the element parts of a WSDL message definition.

Remarks

The XmlSchemaImporter.ImportMembersMapping(System.Xml.XmlQualifiedName[]) method is used by the Wsdl.exe tool while generating client proxy classes or abstract server classes from a Web Services Description Language (WSDL) document. Instead of calling this method directly, use Wsdl.exe or Xsd.exe.

The System.Xml.Serialization.XmlSchemaImporter class is used only when a WSDL document specifies literal use. The value of the names parameter contains the qualified names of the parts elements under a message definition in a WSDL document.

This method does not account for the part elements' types.

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