Build an Ajax service when you want a Coach View to send
data to or retrieve data from the server asynchronously, such as for
autocompletion in text fields, for default selection values in selection
lists, and so forth.
Procedure
- Create the Ajax service as described in Creating a service
- Add variables that the service will use as input or output.
You can also add private variables. See Declaring variables for a BPD or a service for information.
- Add components to the service diagram and then set up the
sequence flow.
For more information about components,
see Understanding service components.
- Configure the components in the sequence flow. For
example, if you are using a Server Script component,
add a script in the Implementation properties.
- Save changes. The Ajax service is available
for use in Coach Views.
Example
To view an example of an Ajax service, the following Ajax
services are provided in the Coaches (8.0) toolkit: Coaches Localized
Messages Loader, Default Autocompletion Service, and Default Selection
Service.