Versions Compared

Key

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

This tutorial will guide you on how to expose an RDF datasource as a data service using the Create New Data Service wizard. To demonstrate this feature, we will use a sample RDF file that is shipped with WSO2 EI by default. Given below are the details of this datasource: 

...

See the following topics for instructions. Also, see the samples in Data Integration Samples/wiki/spaces/EI6xx/pages/49616348.

Table of Contents

...

Creating a data service

...

  1. Download the product installer from here, and run the installer.

    Insert excerpt
    Installing the Product
    Installing the Product
    nopaneltrue

  2. Start the ESB profile:

    Panel
    borderColor#542989
    bgColor#ffffff
    borderWidth1
    Localtabgroup
    Localtab
    activetrue
    titleOn MacOS/Linux/CentOS

    Open a terminal and execute the following command:

    Code Block
    wso2ei-6.46.0-integrator
    Localtab
    titleOn Windows
    Go to Start Menu -> Programs -> WSO2 -> Enterprise Integrator 6.46.0 Integrator. This will open a terminal and start the ESB profile.
  3. Log in to the product's management console.
  4. Click Data Service → Create, to start creating a data service.
  5. Enter the following name for the data service.

    Data Service NameRDFDataService
  6. Click Next to enter the datasource connection details.

...

Now, let's create REST resources to invoke the query created above. Alternatively, you can create SOAP operations to invoke the queries. See the previous section for instructions.

  1. Click Add New Resource and enter the following information.

    Resource PathMovies/{genre}
    Resource MethodGET
    Query IDGetMoviesbyGenre
  2. Save the resource.

...