Hosted Objects
The Mashup Server includes a number of built-in objects to provide access to various data sources from your mashup.
- WSRequest: An object for invoking a Web service without a stub, or necessarily even a WSDL.
- System: A global object providing methods for useful tasks such as including JavaScript files.
- Session: A global object that aids in a persisting state for the duration of a session.
- File: An object that allows files to be read and written to the .resources folder.
- Scraper: An object that allows Web pages to be converted into XML for data extraction and other manipulations.
- Feed: A generic collection of objects allowing the consuming and persisting of Atom/RSS feeds
- APP: A collection of objects facilitating publishing using the Atom Publishing Protocol (APP)
See the WSO2 Mashup Server Reference for more information on the use of these hosted objects.