Clase WebServiceTaskUtil
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.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil
Espacio de nombres: Microsoft.SqlServer.Dts.Tasks.WebServiceTask
Ensamblado: Microsoft.SqlServer.WebServiceTask (en Microsoft.SqlServer.WebServiceTask.dll)
Sintaxis
'Declaración
Public Class WebServiceTaskUtil
'Uso
Dim instance As WebServiceTaskUtil
public class WebServiceTaskUtil
public ref class WebServiceTaskUtil
type WebServiceTaskUtil = class end
public class WebServiceTaskUtil
El tipo WebServiceTaskUtil expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
WebServiceTaskUtil | Initializes a new instance of the WebServiceTaskUtil class, initializing the HTTP connection and Web Services Description Language (WSDL) file to download. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
CleanUp | Releases all the resources used to parse the Web Services Description Language (WSDL) and invoke the Web method. | |
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetHashCode | (Se hereda de Object.) | |
GetServices | Returns an array that contains all the services available in the Web Services Description Language (WSDL). | |
GetType | (Se hereda de Object.) | |
GetWebMethodInfos | Gets an array that contains all the methods available in a service. | |
Invoke | Calls the specified Web method with the supplied parameters. | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | (Se hereda de Object.) |
Arriba
Comentarios
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.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Dts.Tasks.WebServiceTask