Versions Compared

Key

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

Table of Contents

About the sample

WSO2 Data Services Server Enterprise Integrator (WSO2 EI) supports scraping and extracting Web information and exposing it as dataservicesdata services. This sample demonstrates how to extract book information using Site Point (http://www.sitepoint.com/html). The WebResource sample service contains a single operation named getBooksInfo, which returns a list of books and authors.

Building the sample

Deploy the sample data service named WebResourceSample, using the instructions in Samples Setup.

Running the sample

The sample service can be run using the TryIt tool, which comes with the Data Services ServerWSO2 EI. You can also run it using a code-generated java client. See Data Services Clients for details.  

Follow the steps below to demonstrate this functionality using the TryIt tool:

...