Versions Compared

Key

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

...

Code Block
languagehtml/xml
<?xml version="1.0" encoding="UTF-8"?>
<config>
 <var-def name='weatherInfo'>
  <xslt>
   <xml>
    <html-to-xml>
      <http method='get' url='http://weather.yahoo.com/'/>
    </html-to-xml>
   </xml>
   <stylesheet>
    <file path="/media/data/web/template.xsl"/>
   </stylesheet>
  </xslt>
 </var-def>
</config>

...

Info

For more information on advanced configurations, refer to   Advanced Data Service Configurations.

3. The "Data Sources" page appears. Click on the "Add New Data Source" link and add your Data Source details. Select the data source type as "Web Data Source ".

...

For information on adding validations to your input mappings in the query, refer to section Input Validators. Also, detailed information on writing queries can be found in section Data Service Queries. Once the query details are added click "Save ". You have added one query to your data service configuration. To continue, click "Next ".

...

From here, you can manage your data service. For instructions, refer to section Service Management. For a demonstration on service-enabling a web resources, refer to Web Resource Sample.

Excerpt
hiddentrue

Instructions to create data services using a Web resource (yahoo weather) in WSO2 products.