XmlReflectionImporter Class
Generates mappings to XML schema element declarations, including literal XML Schema Definition (XSD) message parts in a Web Services Description Language (WSDL) document, for .NET Framework types or Web service method information.
Assembly: System.Xml (in System.Xml.dll)
The XmlReflectionImporter type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | XmlReflectionImporter() | Initializes a new instance of the XmlReflectionImporter class. |
![]() ![]() ![]() | XmlReflectionImporter(String) | Initializes a new instance of the XmlReflectionImporter class using the specified default XML namespace. |
![]() ![]() ![]() | XmlReflectionImporter(XmlAttributeOverrides) | Initializes a new instance of the XmlReflectionImporter class using the specified XML serialization overrides. |
![]() ![]() ![]() | XmlReflectionImporter(XmlAttributeOverrides, String) | Initializes a new instance of the XmlReflectionImporter class using the specified XML serialization overrides and default XML namespace. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ImportMembersMapping(String, String, array<XmlReflectionMember>, Boolean) | Generates internal type mappings for information from a Web service method. |
![]() | ImportMembersMapping(String, String, array<XmlReflectionMember>, Boolean, Boolean) | 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. |
![]() | ImportMembersMapping(String, String, array<XmlReflectionMember>, Boolean, Boolean, Boolean) | 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. |
![]() | ImportMembersMapping(String, String, array<XmlReflectionMember>, Boolean, Boolean, Boolean, XmlMappingAccess) | Generates internal type mappings for information from a Web service method. |
![]() ![]() ![]() | ImportTypeMapping(Type) | Generates a mapping to an XML Schema element for a specified .NET Framework type. |
![]() ![]() ![]() | ImportTypeMapping(Type, String) | Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type and namespace. |
![]() ![]() ![]() | ImportTypeMapping(Type, XmlRootAttribute) | Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type and attribute. |
![]() ![]() ![]() | ImportTypeMapping(Type, XmlRootAttribute, String) | Generates a mapping to an XML Schema element for a .NET Framework type, using the specified type, attribute, and namespace. |
![]() ![]() ![]() | IncludeType | Includes mappings for a type for later use when import methods are invoked. |
![]() ![]() ![]() | IncludeTypes | Includes mappings for derived types for later use when import methods are invoked. |
![]() ![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
The XmlReflectionImporter class is not used directly. Instead, it is used as follows:
By the ServiceDescriptionReflector class while it creates ServiceDescription objects from classes that are identified as Web services.
By a Web service or client, including during initialization.
To initialize an XmlSerializer object.
By the XML Schema Definition tool (Xsd.exe) while the tool generates XML schemas from types in a run-time assembly file.
By the Web Services Description Language tool (Wsdl.exe) while the tool generates client proxy classes or abstract server classes from a WSDL document.
The XmlReflectionImporter class is used for Web services when a service or client specifies:
Literal use, which indicates that the contents of SOAP message parameters and return values (or request and response documents) are literally specified with XML schema definitions.
Non-SOAP implementations of Web services using the HTTP-GET and HTTP-POST operations.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

