Freigeben über


WebServiceTaskUtil-Klasse

Accesses and invokes the Web services. This class is used by both the Microsoft.SqlServer.Dts.Tasks.WebServiceTask and its user interface as a reusable library of functions.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil

Namespace:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Assembly:  Microsoft.SqlServer.WebServiceTask (in Microsoft.SqlServer.WebServiceTask.dll)

Syntax

'Declaration
Public Class WebServiceTaskUtil
'Usage
Dim instance As WebServiceTaskUtil
public class WebServiceTaskUtil
public ref class WebServiceTaskUtil
type WebServiceTaskUtil =  class end
public class WebServiceTaskUtil

Der WebServiceTaskUtil-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode WebServiceTaskUtil Initializes a new instance of the WebServiceTaskUtil class, initializing the HTTP connection and Web Services Description Language (WSDL) file to download.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode CleanUp Releases all the resources used to parse the Web Services Description Language (WSDL) and invoke the Web method.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetServices Returns an array that contains all the services available in the Web Services Description Language (WSDL).
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode GetWebMethodInfos Gets an array that contains all the methods available in a service.
Öffentliche Methode Invoke Calls the specified Web method with the supplied parameters.
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

The WebServiceTaskUtil provides the functionality to do the following:

  • Download the Web Services Description Language (WSDL) from a given URL.

  • Retrieve services, methods, and parameters information from the WSDL.

  • Create the proxy class and generate an assembly from the proxy class, which is required for invoking the Web method.

  • Invoke the requested Web method on the proxy class using reflection.

The user interfaces that are designed for a task can use this WebServiceTaskUtil for displaying the services, methods, and parameters.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Tasks.WebServiceTask-Namespace