Due to a known issue do not use JDK1.8.0_151 with WSO2 products. Use JDK 1.8.0_144 until JDK 1.8.0_162-ea is released.
This documentation is for WSO2 Data Services Server version 3.5.1. For the latest documentation, see the documentation for WSO2 Enterprise Integrator.

Versions Compared

Key

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

...

  1. In the Output type field, specify the format in which the query results should be presented. You can select XML, JSON or RDF. We will use XML for this tutorial.
  2. In the Grouped by element field, specify a grouping for all the output mappings. This will be the XML element that will group the query result. Enter Movies in this field. 
  3. In the Row Name field, specify the XML element that should group each individual result. Enter Movie in this field.
  4. Click Add New Output Mapping to start creating the output mapping for the title column. Enter values as shown below:
  5. Click Add to save the output mapping. You will now have one output mapping listed for the GetMoviesbyGenre query as shown below.
  6. Now, add the following output mappings:

    Mapping TypeElement NameDatasource TypeDatasource Column NameParameter TypeSchema Type
    ElementtitleColumntitleSCALARstring
    ElementdirectorColumndirectorSCALARstring
    ElementyearColumnyearSCALARstring
    ElementgenreColumngenreSCALARstring
    ElementactorColumnactorSCALARstring

...