WebServiceTaskUtil Class

WebServiceTaskUtil Class

 

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.

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

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

public class WebServiceTaskUtil

NameDescription
System_CAPS_pubmethodWebServiceTaskUtil(Object, String)

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

NameDescription
System_CAPS_pubmethodCleanUp()

Releases all the resources used to parse the Web Services Description Language (WSDL) and invoke the Web method.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetServices()

Returns an array that contains all the services available in the Web Services Description Language (WSDL).

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetWebMethodInfos(String)

Gets an array that contains all the methods available in a service.

System_CAPS_pubmethodInvoke(DTSWebMethodInfo, String, Object, VariableDispenser)

Calls the specified Web method with the supplied parameters.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft