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.

Note Before creating a web service action, you must add the required web service reference. See Web Service references for more information.
  1. On the form modeling bar, click Actions and click New.

    The New action dialog box is displayed.

  2. On the Type list, select Web service.
  3. Change the default Name (WebService1) to something meaningful.
  4. Optional. Enter a Description for the action.
  5. Optional. Select Multilingual to configure a unique action for each language separately. See Configure multilingual actions.
  6. Click Configure.
    The Configure web service action dialog box is displayed.
  7. On the Web service list, select a web service.
  8. On the Class list, select the required class.
  9. On the Method list, select a method.

    The list of parameters appears.

  10. Map the parameters using dynamic or static values.
  11. Click OK.

    The newly created action appears on the Actions page.

  12. Click Save.
  13. 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.