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

Upload a Data Service Using a Configuration File

If a user has manually created a sample data service file, it can be deployed to a running Carbon instance through the product's management console. It is also possible to deploy the data service by simply copying the .dbs file to location <PRODUCT_HOME>/repository/deployment/server/dataservices. Hot deployment is enabled by default.

Info

For instructions on the structure and key elements of a sample data service file (.dbs), refer to section "Data Services and Resources."

Follow the instructions below to generate data services by deploying a sample .dbs file through the management console.

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

2. The "Upload Data Service" page appears. Select the database backup (.dbs) file and click "Upload."

3. If the file is uploaded successfully, a message appears.

4. You will be navigated to the "Deployed services" page. You should be able to see the data service under deployed services.

From here, you can manage your data service. For instructions, refer to section "Service Management."