The WSO2 Data Services feature supports exposing data as a set of REST style resources in addition to the SOAP services. Follow the steps below to define REST resources.
- Log on to the product's management console and select Data Services > Create under the Main menu.
- Th Create Data Service page appears. Fill in the data service details and click Next.
- Similarly, navigate through the /wiki/spaces/DSS400/pages/31294348, /wiki/spaces/DSS400/pages/31293781 and operations configs until the Resources window opens.
Using this window, you can define REST resources that are accessed as RESTful Web services. For example,
Resource Path: The resource name which will be appended to at the end of the resource URI.
Resource Method: The HTTP operation (GET, POST, PUT or DELETE)
Query ID: The corresponding query for the resource invocation
For a demonstration of the usage of REST support, see /wiki/spaces/DSS400/pages/31293697.