This documentation is for WSO2 Application Server version 5.0.0. View documentation for the latest release.

Handling Data Service Queries

This section discusses a few key features useful in defining data service queries. Follow the instructions below to open the Queries page.

1. Log on to the product's management console and select "Data Service -> Create" under the "Main" menu.

2. The Create Data Service page appears. Fill in the fields and click Next. The Data Service name is mandatory.

 

Note

For more information on Advanced Configurations in creating data services, refer to section "Data Service Management -> Transaction Handling."

3. The Data Sources page appears. Click on the Add New Data Source link, add your Data Source details and click Save.

4. After saving, the added data source page appears. Click Next to proceed.

5. The Queries page appears.

Initially your service does not include any queries. You can add a new query by clicking the Add New Query link. For information on adding queries, refer to the page relevant to the data source in section "Create a Data Service Using Various Data Sources."

This section gives more detail on the following:

  • Advanced Query Properties
  • Add New SQL Dialect
  • Generate Response