Web service action
Web services are simple, self-contained applications that perform functions, from simple requests to complicated business processes.
For example:
- Automatic validation of a credit card number through the Internet.
- Retrieval of delivery information from a transportation company for a dispatched order.
Based on XML, Web services can be used to communicate across platforms and operating systems. For example, using a Web service, you can write a program in Java, communicate with Perl, or make a Windows application talk with a Unix application.
Before creating a web service action, you must add the required web service reference. See
Web Service
references for more information.
-
On the form modeling bar, click
Actions and click
New.
The New action dialog box is displayed.
- On the Type list, select Web service.
- Change the default Name (WebService1) to something meaningful.
- Optional. Enter a Description for the action.
- Optional. Select Multilingual to configure a unique action for each language separately. See Configure multilingual actions.
-
Click
Configure.
The Configure webservice action dialog box is displayed.
-
On the
Web service list, select a web service.
If you select an Open API RESTful service, the Configure link for Parameters appears. Click Configure and map the parameters using static or dynamic values.
- On the Class list, select the required class.
-
On the
Method list, select a method.
The list of parameters appears.
- Map the parameters using dynamic or static values.
-
Click
OK.
The newly created action appears on the Actions page.
- Click Add.
- Associate the action with the control to trigger this action. See Configure actions for form control events. Alternatively, to call this action for a form event, associate the action with the form. See Associate an action with a form.
See also: