This section describes how WSO2 Data Services Server samples are deployed before running and testing them.
Deploying the Service
To build the samples you need Apache Ant build tool.
1. Install the WSO2 Application Server. See Application Server Installation for instructions.
2. In a command prompt, switch to the Chad directory.
For example, cd <AS_HOME>\samples\Chad
3. From there, type ant.
4. Run the WSO2 Application Server start script. See Application Server Management Console for instructions.
5. Check the WSO2 Application Server instance using this URL: https://localhost:9443/carbon.
6. You now have the Chad service deployed on WSO2 Application Server. If you go to "Deployed Services" in the Application Serve Management Console, you will see the "Chad" service deployed.
- top the currently running Data Services Server - This is recommended, to clean the current sample database and redeploy the services.
- Remove the current sample database and remove existing sample data services.
# cd CARBON_HOME/samples
# ant clean - Deploy all the samples.
# ant - Start the Data Services Server
# cd CARBON_HOME/bin
# wso2server.bat|sh