类:ServiceDescriptionImporter Class
Discloses a method for generating a client proxy class for XML Web services.
Address: https:? //Docs.microsoft.com/zh-cn/dotnet/api/system.web.services.description.servicedescriptionimporter redirectedfrom = MSDN & view = netframework-4.8
annotation:
XML Web service interface is usually described by Web Services Description Language (WSDL) file. For example, to use the public http://localhost/service.asmx
of ASP.NET to obtain the WSDL description of Web services, simply navigate to.http://localhost/service.asmx?WSDL
Class so that you can easily WSDL description System.CodeDom.CodeCompileUnit import information contained in the object. ServiceDescriptionImporter by adjusting the Style value of the parameter, you can indicate a ServiceDescriptionImporter instance generate the client proxy class, which provides a Web service function, a method by which a transparent way calling or generates an abstract class that encapsulates the functionality of the Web service, without implementing it.
You can then call directly CodeCompileUnit code generation objects may be used to export the selected language.
-----------------------------
CodeCompileUnit Class
CodeDOM program provides a container for the graphics.
-------------------------------
ServiceDescriptionImporter Class
Discloses a method for generating a client proxy class for XML Web services.
-------------------------------------
CodeDomProvider Class
To CodeDomProvider provides the base class implementation. Such abstract.