This documentation is for WSO2 Data Services Server 3.2.2. View documentation for the latest release.
Page Comparison - Generating Using a Given Database Structure (v.4 vs v.5) - Data Services Server 3.2.2 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This option helps create data services automatically using a given database structure. When generating a data service, the server takes its table structure according to the structure specified in the data source and automatically creates the SELECT, INSERT, UPDATE and DELETE operations.

FirstBefore you begin, you must first add a data source. For information, see Managing Datasources.  Once the datasource is created, follow the steps below to generate a data service using it.

  1. Select the data source created before and the database, which includes the data you need to expose, and click Next.
  2. The table structure of the database is displayed. From there, select the preferred table/s and click Next.  
  3. If you selected multiple tables in the previous step, you must select a service generation mode from the two options as follows, and click Next.
    • Single Service: Creates a single data services for operations of all tables. 
    • Multiple Services: Creates a service per table, for operations relevant only to that table.
  4. The generated service/s appear on the screen. Click Finish to navigate to the Deployed Services window, from where you can Manage Data Services.