wadl: Create a WADL object

View source: R/wadl.R

wadlR Documentation

Create a WADL object

Description

This is a constructor function that creates a WADL object which contains the parsed XML document for the WADL.

Most of the functions allow us to specify the WADL by file name or URL, or XML document, or WADL object. If we work on the same WADL in numerous functions, it is best to parse it once and use the WADL object to avoid reading it each time.

Usage

wadl(file)

Arguments

file

the URL or file containing the WADL information

Value

An object of class WADL-class. This has a single slot named ref and this is a reference to the parsed XMLInternalDocument.

Author(s)

Duncan Temple Lang

Examples

 gw = system.file("sampleWADLs", "GenesByMolecularWeight.wadl", package = "WADL")

 w = wadl(gw)

 wadlMethods(w)
 makeFunctions(w)

 eop = wadl("http://ops.epo.org/2.6.2/wsdl/ops.wadl")

duncantl/WADL documentation built on Nov. 23, 2023, 4:28 p.m.