Adding Web Services to Events

Web services can provide extra data or functionality to your custom applications. When you run a Web service, typically, you'll want to send it input and receive output. You can map any eligible data to the Web service inputs. To get the output, see the Getting Data Returned from a Service Action topic.

To add a Web service to an event
  1. Create an event, and add a Web Service action to it.

    You may need to choose the Services button from the Actions list to access the Web Service action.

  2. (Optional) From the Web Service Properties pane, customize the Step Reference ID.

    These IDs can be especially helpful if you are using multiple Web Service actions.

  3. Under Specify WSDL Source, if your Web service is available from a Web server, select URL, then type the URL to access the WSDL for the Web service.


    If you have downloaded a WSDL file so that your Web service is available locally, select File, then click Browse to locate the WSDL file.

  4. Click Open.

  5. From the Select Operations dialog box, under Operations, select the operation that you want to access from the current event.

  6. Click the Assign Operation Inputs button.

    The Assign Operation Inputs dialog box appears, showing the eligible data on the left, and the available inputs on the right.

  7. Map a data element from your application into an input from the Web service operation, and then click the Add Mapping button.


    Create a constant (right-click an operation input and choose Map Constant), and type any value to map to the input.

    • The eligible data will consist of two client run-time environment variables (IPAddress and UserName), all of the controls on the current form, and any previously defined global variables. The results of other mappings may also be available.

    • The available inputs depend on the Web service operation. You can select an input and click the Properties button at the bottom of the window to learn more about it.
  8. From the Event editor, click OK.
Related Topics
Bullet Adding Events, Overview
Bullet Adding Actions to Events
Bullet Getting Data Returned from a Service Action
Bullet Action Descriptions: Web Service