This documentation is for WSO2 Application Server 5.2.0. View documentation for the latest release.
Expose Data as REST Resources - Application Server 5.2.0 - WSO2 Documentation
Skip to end of metadata
Go to start of metadata

The WSO2 Data Services feature supports exposing data as a set of REST style resources in addition to the SOAP services. This can be done when developing data services using various data sources as described in section Developing Data Services .

Follow the instructions below to define REST resources.

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

2. The "Create Data Service" page appears. Fill in the contents and click "Next". Keep navigating through the other windows that appear as well, namely, "Data Sources" page, "Queries" page and "Operations" page until the  "Resources" page opens.

For detailed information on configuring data sources, queries, operations and resources, refer to section Developing Data Services .

Using the "Resources" page, you can define R EST resources that can be accessed as RESTful web-service.An example depicted below:

For a demonstration of the usage of REST support, refer to sample: Expose Data as REST Resources in Data Services Server 3.0.0 Documentation.

  • No labels