Associate Web Service with User Initiated Workflow

You can create user-initiated workflows that call web services when events occur in various applications.

To create a user-initiated workflow that calls a web service:

  1. On the Navigation menu, click Settings > Workflow > User Initiated Workflows in the desktop application.
  2. On the User Initiated Workflows form, select the application for which you want to create a workflow.
  3. In the Workflows grid, select an existing event or click to create a new event for the workflow.
  4. If necessary, click Move Up or Move Down to move the event to where you want it in the event sequence. Events are executed based on the order in the grid.
  5. In the Actions grid, click and select Invoke Web Service from the list of action types.
    Vantagepoint displays a workflow warning message.

  6. Click OK to dismiss the warning message.
    Vantagepoint displays the Web Service Configuration dialog.
  7. Enter the Web Service Location. This can be any of the following:
    • A location or a file path for the WSDL file generated for the Web service.
    • A URL to the WSDL file located on a Web server
    • For Web services written in ASP.NET, it can also be a URL to the Web service ‘asmx’ page with “?WSDL” added at the end. This parameter generates WSDL information automatically.

    For example:

    Based on the information contained in the WSDL file, Vantagepoint populates the Web Method drop-down list with a list of available Web methods in the Web service.

  8. If necessary, click Refresh Methods to force Vantagepoint to read from the latest WSDL file generated for the web service and refreshes the Web Method drop-down list with the latest values
  9. Select an appropriate method for the workflow.
    Vantagepoint populates the Arguments grid with a list of arguments defined for the Web method you selected.
  10. To provide values for the arguments, click in the value field.
    Vantagepoint displays the SQL Expression Builder. The SQL expression you create determines the value of the argument at run time.
  11. Build an appropriate SQL expression. For more information on building SQL expressions, refer to Contents of the SQL Expression Builder Dialog Box.
  12. Click Save.