Web service action
Web services are simple, self-contained applications that perform functions, from simple requests to complicated business processes.
- 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.
On the form modeling bar, click
Actions and click
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.
The Configure web service action dialog box is displayed.
- On the Web service list, select a web service.
- On the Class list, select the required class.
Method list, select a method.
The list of parameters appears.
- Map the parameters using dynamic or static values.
The newly created action appears on the Actions page.
- Click Save.
- 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.