This documentation is for WSO2 Data Services Server 3.1.1. View the home page of the latest release.

Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

WSO2 Data Services Server supports scraping and extracting Web information and exposing it as dataservices. To sample demonstrates how to extract book information using Site Point HTML Books (http://www.sitepoint.com/html).

Building the sample

Deploy the sample dataservice WebResourceSample using instructions in Deploying Data Services section.

Running the sample

The sample service can be run using the TryIt tool, which comes with the Data Services Server, or a code-generated java client sample as discussed in the Data Services Clients section. The WebResource sample service contains a single operation named getBooksInfo, which returns the temperatures of regions. Shown below is a sample run of the service using the  Tryit tool.


  • No labels