This documentation is for WSO2 Data Services Server 3.2.2. View documentation for the latest release.
Page Comparison - Custom Datasource Sample (v.6 vs v.7) - Data Services Server 3.2.2 - WSO2 Documentation

Versions Compared

Key

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

...

  1. Log in to the management console of your server and click List under Services in the navigator. The CSVSampleService will be listed here.
  2. Click Try this service to open the TryIt tool.
  3. Select the relevant operation and click Send to execute the command. The service contains the following operations:
    • "addVehicle": This operation adds a new vehicle to the datasource.
       
    • "getOldVehicles": This gives all the vehicles added with the year greater than 1970.
       
    • "getAllVehicles": This operation returns all the vehicles added in the datasource.
       
    • "getVehicleById": This operation gives the vehicle information which matches with the provided id. 
       
    • "getAllUsers": This operation returns the user information stored in the datasource.
       
    • "echo1" and "echo2": This operation returns the entered values.