com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

CSV Sample

Introduction

Usage of CSV files is an easy and a common way of storing simple tabular data. This sample demonstrates the usage of a CSV file as a data source in the WSO2 Data Services Server.

Building the sample

The sample data service CSVSampleService should be deployed using the instructions in Deploying Data Services section.

Executing the sample

The sample service can be run using the TryIt tool, which is bundled with the WSO2 Data Services Server, or a code-generated java client sample as discussed in the Data Services Clients section.

File and service description

The CSV file (CARBON_HOME/samples/resources/Products.csv) contains data about the products that are manufactured in an automobile company. Products refer to cars/motorocyles. The data table has "ID, Name, Classification, Price" columns.

The CSV data source based data service contains a single operation named getProducts to list all the products that are manufactured in the company.

Sample run of the service using the TryIt tool is shown below.

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.