SoapSchemaImporter::ImportMembersMapping Method (String^, String^, array<SoapSchemaMember^>^, 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.

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

public:
XmlMembersMapping^ ImportMembersMapping(
	String^ name,
	String^ ns,
	array<SoapSchemaMember^>^ members,
	bool hasWrapperElement
)

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.

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.

.NET Framework
Available since 1.1
Return to top
Show: