This documentation is for WSO2 Enterprise Integrator version 6.1.1 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc
Skip to end of metadata
Go to start of metadata

Note that WSO2 EI is shipped with the following changes to what is mentioned in this documentation:

  • <PRODUCT_HOME>/repository/samples/ directory that includes all Data Integration samples is changed to <EI_HOME>/samples/data-services/.
  • <PRODUCT_HOME>/repository/samples/resources/ directory that includes all artifacts related to the Data Integration samples is changed to <EI_HOME>/samples/data-services/resources/.

About the sample

WSO2 Enterprise Integrator (WSO2 EI) supports scraping and extracting Web information and exposing it as data services. This sample demonstrates how to extract book information using Site Point ( 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 WSO2 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:

  1. Log in to the management console of your server and click List under Services in the navigator. The WebResourceSample will be listed here.
  2. Click Try this service to open the TryIt tool.
  3. Select the "getBooksInfo" operation and click Send to execute the operation. You will get the response as shown below.
  • No labels