Allows you to customize the code generated from a Web Services Description Language (WSDL) document when using automated query tools.
See Also: SchemaImporterExtension Members
Schema importation occurs whenever a Web service proxy is produced through a tool such as the Add Web Reference dialog box found in Visual Studio, or by using the Web Services Description Language Tool (Wsdl.exe). Schema importation also occurs when using the XML Schema Definition Tool (Xsd.exe) to generate code from a specific XSD document.
The System.Xml.Serialization.Advanced.SchemaImporterExtension class allows you to modify the code generated when using any of these tools. For example, you may have an existing class that processes book orders on a system and you have an existing XSD document that supplies your orders. Using the System.Xml.Serialization.Advanced.SchemaImporterExtension class, you can enable one of the tools to generate code that uses your class.
In order to control the generation of the code, you must use the classes found in the System.CodeDom namespace. For more information, see Using the CodeDOM and CodeDOM Quick Reference.
The steps to enabling the WSDL.exe tool (which in turn is used by other tools such as the Add Web Reference dialog box) to use your extension are:
[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]