Using Data Services

You can use data services to provide data to your UI from external SQL and web services data sources.

To use external data sources in your UI, you create one of two types of service requests described in the following table:

Service Request Type

Description

serviceRequest

Specifies the serviceRequest on the server.

Uses a dataRequestDefinition specified on the server-side to access enterprise data.

Use to:

  • Define a data source on the server

  • Specify arguments

  • Use pre- or post-processors

  • Use parameter maps

embeddedServiceRequest

Specifies the serviceRequest on the client.

Specifies the complete syntax of the request in the client UI.

Use to:

  • Define a data source in the client UI file

  • Perform simple replacement with parameters

Note: You cannot use pre- and post-processors with an embeddedServiceRequest. To use pre- and post-processors, create a serviceRequest.

You can provide data to your application UI from external data sources using SQL or web services external data sources.

You construct external data sources differently for SQL or web services external data.

For SQL external data sources you create:

For web services external data sources you create: