This documentation is for WSO2 Data Services Server 3.1.0. 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

Version 1 Next »

WSO2 Data Services Server supports scraping and extracting Web information and exposing them as data services. To demonstrate this use case, we are using Yahoo Weather Forecasts to extract weather information in this sample.

The sample data service "WebResourceSample" 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.

The WebResource sample service contains a single operation named "getWheatherInfo" which returns the temperatures of regions. A sample run of the service using the "tryit" tool is shown below.


  • No labels