System.Web.Services 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Object

The interface to an XML Web service is typically described by a Web Services Description Language (WSDL) file. For example, to obtain a WSDL description of a Web service using ASP.NET exposed at http://localhost/service.asmx, simply navigate to http://localhost/service.asmx?WSDL.

The class allows you to easily import the information contained in a WSDL description into a object. By adjusting the value of the parameter, you can instruct a instance either to generate a client proxy class that provides the functionality of the Web service by transparently calling it or to generate an abstract class that encapsulates the functionality of the Web service without implementing it.

The code in the resulting object can then either be called directly or exported in the language of your choice.

Exposes a means of generating client proxy classes for XML Web services.

- Constructor
  To be added

  Initializes a new instance of the class.

  1.0.5000.0
  2.0.0.0
- Method
  System.Void `` `` ``

  Use this method to add instances to the collection that is to be imported when the method is called.

  The two string parameters, and , specify how to construct the Url property of the XML Web service proxy that is to be generated from the imported value. The parameter specifies that the Url property should be read out of the web.config file's <appsettings> section by using the parameter value as the configuration key. If the parameter is null or an empty string, the initial value is determined by the location attribute in the Web Services Description Language (WSDL) document. If the value of is Server, an error is raised if you attempt to set the value of the parameter.

  The parameter specifies that the initial value for the Url property should be constructed from a combination of this parameter value and the URL specified by the location attribute in the WSDL document. The parameter must also be specified. The Url property is constructed by combining a relative URL (constructed from the parameter and the WSDL-specified URL) with the URL loaded from the web.config file. If this parameter is null or an empty string, the URL is constructed entirely from the value in the web.config file.

  Adds the specified to the collection of values to be imported.

  The instance to add to the collection Sets the initial value of the Url property of the proxy class to be generated from the instance represented by the parameter. Specifies that it should be generated from the web.config file's <appsetting> section. Sets the initial value of the Url property of the proxy class to be generated from the instance represented by the parameter. Specifies that it should be constructed from a combination of the value of this parameter and the URL specified by the location attribute in the WSDL document. 1.0.5000.0 2.0.0.0
- Property
  2.0.0.0
  System.Runtime.InteropServices.ComVisible(false)
  System.Xml.Serialization.CodeGenerationOptions To be added.

  The property allows you to specify various options used when the method is called to generate code. For example, you can specify whether simple types described in the WSDL are generated as value types or namespace types, and whether they are generated as properties or fields.

  Gets or sets various options for code generation.

- Property
  2.0.0.0
  System.Runtime.InteropServices.ComVisible(false)
  System.CodeDom.Compiler.CodeDomProvider To be added. To be added.

  Gets or sets the code generator used by the service description importer.

- Method
  2.0.0.0
  System.Collections.Specialized.StringCollection `` `` `` `` To be added.

  The services description document collection in each member of the collection should contain only and objects. This method is unable to interpret objects.

  If any of the XML Web service methods in the collection share custom parameter or return types, those types are also shared among the proxy methods generated. This is an important advantage over the situation in which each proxy is compiled separately, because in that case such types do not interoperate.

  Compiles a collection of Web references to produce a client proxy or a server stub.

  A of compiler warnings.

  A of Web references to compile. A that specifies the unit into which code is compiled. A that specifies code generation options.
- Method
  System.Web.Services.Description.ServiceDescriptionImportWarnings `` ``

  After you have specified the values to import and the property of the code to generate, call the method to initiate code generation.

  Imports the specified values, that generates code as specified by the property.

  A value that describes any error that occurred; or 0 if no error occurred.

  The namespace into which the values are imported. The instance in which the code that represents the value is generated. 1.0.5000.0 2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  The allowed values of this property are:

  "Soap"

  "Soap12"

  "HttpPost"

  "HttpGet"

  "HttpSoap"

  The default value is "Soap", which indicates the SOAP 1.1 standard.

  Gets or sets the protocol used to access the described XML Web services.

  1.0.5000.0
  2.0.0.0
- Property
  System.Xml.Serialization.XmlSchemas a To be added

  Gets the used by the property.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.Services.Description.ServiceDescriptionCollection To be added: an object of type 'ServiceDescriptionCollection'

  As with any collection that forms a read-only property, members can be added to the collection, removed from the collection, or modified using the methods exposed by the collection. You can also use the method to add members to this collection.

  Gets the collection of instances to be imported.

  1.0.5000.0
  2.0.0.0
- Property
  System.Web.Services.Description.ServiceDescriptionImportStyle To be added: an object of type 'ServiceDescriptionImportStyle'

  If the property is set to , the generates client proxy classes that provide the functionality of the described Web services by calling them.

  If the property is set to , the instance generates abstract classes that represent the functionality of the described XML Web services without implementing them. You can then implement them by writing classes that inherit from these abstract classes and implement the relevant methods.

  Gets or sets a value that determines the style of code (client or server) that is generated when the values are imported.

  1.0.5000.0
  2.0.0.0