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.
See Also: XmlReflectionImporter Members
The System.Xml.Serialization.XmlReflectionImporter class is not used directly. Instead, it is used as follows:
By the System.Web.Services.Description.ServiceDescriptionReflector class while it creates System.Web.Services.Description.ServiceDescription objects from classes that are identified as Web services.
By a Web service or client, including during initialization.
To initialize an System.Xml.Serialization.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 System.Xml.Serialization.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.