Web Service Element Properties

The Web Service element enables you to call a Web service directly through a form, which can be triggered by any of the following methods:

  • When a form is loaded (Form Load)

  • When a field is changed (Field Change)

  • When a button is clicked (Button Click)

  • When a rule is triggered (Invoke by Rule)

The Web service used can be a third-party Web service or a Winshuttle Transaction or Query Web service.

Back to Form Elements

Related topic: Element Properties

Property

Description

Name

A descriptive name for the element.

Web Service

Click to select the Web service from the drop-down menu.

Run

Option to choose when to invoke the Web service. Possible values are:

  • Invoked by Rule

  • Invoke by Button

  • When Field Changes (click to select the field)

  • When the form loads

Ordinal

If you are using multiple Web service elements and running them on Form Load or Field Change (see above), you can specify the order in which the services run.

You can chain multiple Web services so that multiple services can be triggered with a single button press (for example).

To do this:


  1. Import your Web services.


  2. Add the Web service element to your form.


  3. At the top of the form, click the Web service.


  4. In the Properties pane, under Web service, select multiple web services that you want to chain to this specific Web Service element.

Once you have completed this procedure, you could then (for example) create a rule for a button that runs the Web Service Control (which in turn runs the Web services you chained together in the Web Service element).