System.Xml.Serialization.SoapReflectionImporter.ImportMembersMapping Method

Generates internal type mappings for information that is gathered from a Web service method.

Syntax

public XmlMembersMapping ImportMembersMapping (string elementName, string ns, XmlReflectionMember[] members)

Parameters

elementName
An XML element name produced from the Web service method.
ns
An XML element namespace produced from the Web service method.
members
An array of .NET Framework code entities that belong to a Web service method.

Returns

Internal .NET Framework type mappings to the element parts of a WSDL message definition.

Remarks

The SoapReflectionImporter.ImportMembersMapping(string, string, XmlReflectionMember[]) method is called while initializing a Web service or client, or reflecting a Web service. You do not need to call it directly.

The following list describes possible values for the members parameter:

  • Web service method input parameters.

  • Web service method output parameters, plus the return type, if not void, at index zero.

  • SOAP input headers.

  • SOAP output headers.

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