Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

The sample data service GSpreadSample should be deployed using the instructions in Deploying Data Services 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 spreadsheet contains data about the customers of a specific company.

The GSpread sample service contains a single operation named getCustomers which returns all the customer information that are stored in the Google spreadsheet. There is also a resource defined as customers which can be accessed using the following URL, http://localhost:9763/services/GSpreadSample.HTTPEndpoint/customers.

Sample Run

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

Excerpt
hiddentrue

Data services sample - Google spreadsheet demo in WSO2 Data Services Server.