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

Excel Sample

Introduction

One of the most often used spreadsheet format is Microsoft Excel. An Excel sheet can be used as a data source in creating data services in the WSO2 Data Services Server.

Building the sample

The sample data service ExcelSampleService should be deployed using the instructions in Samples Setup section.

Running 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 Excel file (CARBON_HOME/samples/resources/Products.xls) uses the same structure and data used in the CSV Sample which contains automobile information.

The Excel sample data service contains two operations:

  • getProducts - Lists all the products that are manufactured in the company. Each result record will contain "ID" and "Name" fields.
  • getProductClassifications - Lists all the products along with the classifications, which contain two result records named "Name" and "classification".

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.