Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Building the sample

The sample data service named RDFExposeAsRDFSample should be deployed in the EI instance using the instructions in Samples Setupnamed RDFExposeAsRDFSample is shipped with WSO2 EI, by default. This .dbs file is stored in the <EI_HOME>/samples/data-services/dbs/rdf/ directory. Follow the steps given below.

  1. Follow the instructions in Uploading a Created Data to deploy the sample file  (RDFExposeAsRDFSample.dbs) in the ESB of WSO2 EI.
  2. Click Services → List on the navigator. The sample should be listed on the services' dashboard.

Running the sample

The service can be invoked in REST-style via curl (http://curl.haxx.se). The following command can be executed in the command line to retrieve the product info (stored in the <EI_HOME>/samples/data-services/resources/Products.xls file) in RDF format.

...