This documentation is for WSO2 Application Server 5.2.1. View documentation for the latest release.
Page Comparison - Data Services Samples (v.1 vs v.2) - Application Server 5.2.1 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Table of Contents

Deploying Data Services Samples

Info
You need Apache Ant 1.6.2 or higher to deploy the samples.
  1. Stop the currently running Application Server.
    This is recommended, to clean the current sample database and redeploy the services.
  2. Remove the current sample database and remove existing sample data services using the following command:

    Code Block
    cd PRODUCT_HOME/samples/dataServiceSamples
    ant clean
  3. Deploy all the samples using the following command: 

    Code Block
    ant
  4. Start the Data Services Server by executing one of the following commands, where <PRODUCT_HOME> is the directory where you installed the product distribution:

    OSCommand
    On Windows
    <PRODUCT_HOME>\bin\wso2server.bat --run
    On Linux/Solaris
    sh <PRODUCT_HOME>/bin/wso2server.sh

Available data services samples

For more information, on the data services samples see DSS Samples.