Returns internal type mappings using information from a Web service method, and allows you to specify an XML element name, XML namespace, and other options.
- 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 System.Xml.Serialization.XmlReflectionMember objects that contain .NET Framework code entities that belong to a Web service method.
- hasWrapperElement
true if elements that correspond to Web Services Description Language (WSDL) message parts should be enclosed in an extra wrapper element in a SOAP message; otherwise, false.
- rpc
true if the method is a remote procedure call; otherwise, false.
- openModel
true to specify that the generated schema type will be marked with the <xs:anyAttribute> element; otherwise, false.
![]()
An System.Xml.Serialization.XmlMembersMapping that contains the mappings.