Generates internal type mapping information for the element parts of a literal-use SOAP message defined in a WSDL document.
- names
- An array of type System.Xml.XmlQualifiedName that specifies the names of the message parts.
- baseType
- A base type for all .NET Framework types that are generated to correspond to message parts.
- baseTypeCanBeIndirect
- true to indicate that the types corresponding to message parts can indirectly inherit from the base type; otherwise, false.
The .NET Framework type mappings for the element parts of a WSDL message definition.
The XmlSchemaImporter.ImportMembersMapping(System.Xml.XmlQualifiedName[], Type, bool) 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.