SoapSchemaImporter::ImportMembersMapping Method (String^, String^, array<SoapSchemaMember^>^, Boolean, Type^, Boolean)
This API supports the product infrastructure and is not intended to be used directly from your code.
Generates internal type mapping information for the element parts of a SOAP-encoded message defined in a WSDL document.
Assembly: System.Xml (in System.Xml.dll)
public: XmlMembersMapping^ ImportMembersMapping( String^ name, String^ ns, array<SoapSchemaMember^>^ members, bool hasWrapperElement, Type^ baseType, bool baseTypeCanBeIndirect )
Parameters
- name
-
Type:
System::String^
The message name.
- ns
-
Type:
System::String^
The message namespace.
- members
-
Type:
array<System.Xml.Serialization::SoapSchemaMember^>^
An array of type SoapSchemaMember that provides information about the part elements.
- hasWrapperElement
-
Type:
System::Boolean
true to have elements defined by the parts enclosed in an extra, wrapper element in a SOAP message; otherwise, false.
- baseType
-
Type:
System::Type^
A base type for all .NET Framework types that are generated to correspond to message parts.
- baseTypeCanBeIndirect
-
Type:
System::Boolean
true to indicate that types corresponding to message parts can indirectly inherit from the base type; otherwise, false.
Return Value
Type: System.Xml.Serialization::XmlMembersMapping^The .NET Framework type mappings for the element parts of a WSDL message definition.
The ImportMembersMapping method of the SoapSchemaImporter class 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.
The SoapSchemaImporter class is used only when a WSDL document specifies SOAP encoding, as described in Section 5 of the SOAP 1.1 specification. The parameter values to the ImportMembersMapping method are taken from a message definition in a WSDL document, including the part elements the message element contains.
Available since 1.1