Workflow Web Service

The Workflow Web service provides a workflow interface for remote clients to perform activities such as to get information about workflow for an item or workflow task, to start a workflow, or to get workflow templates.

To use the Workflow Web service library, you must generate a proxy class in either Microsoft Visual C# or Microsoft Visual Basic through which you can call the various Web service methods.

The Web Services Description Language (WSDL) for the Workflow Web service endpoint is accessed through workflow.asmx?wsdl.

The following example shows the format of the URL to the Workflow WSDL file.

http://server/customsite/_vti_bin/workflow.asmx

If you do not have a custom site, you can use the following URL:

http://server/_vti_bin/workflow.asmx

It is recommended that you create a custom site, and then use the URL that includes the custom site in the URL format.

The following table describes each element in the URL.

URL element

Description

server

The name of the server on which Microsoft Office SharePoint Server 2007 is deployed.

customsite

A custom Office SharePoint Server 2007 site that the server administrator creates.

<endpointname>.asmx

The name of the Web service endpoint. For the Workflow Web service, it is workflow.asmx.

For more information about the WSDL format, see the World Wide Web Consortium (W3C) WSDL specification (http://www.w3.org/TR/wsdl).

Classes

  Class Description
Public class Workflow Contains methods used to call the Workflow Web service.