Generates internal type mapping information for a single, (SOAP) literal element part defined in a WSDL document.
- typeName
- An System.Xml.XmlQualifiedName that specifies the name of an element's type for which a .NET Framework type is generated.
- elementName
- The name of the part element in the WSDL document.
An System.Xml.Serialization.XmlMembersMapping representing the .NET Framework type mapping for a single element part of a WSDL message definition.
The XmlSchemaImporter.ImportAnyType(System.Xml.XmlQualifiedName, string) 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 XmlSchemaImporter.ImportAnyType(System.Xml.XmlQualifiedName, string) method is used when a WSDL message has a single part element but the part has not been identified as a wrapper element.