irisws-wadl: Accessing IRIS WS services with .wadl protocol

Description Usage Arguments Author(s) References See Also Examples

Description

WADL is the Web Applications Description Language, which is essentially a way to specify WS parameters through dressed up XML

These functions can only be used to inspect the query protocol for a given webservice.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
waddler(service, ...)

wadl(u, ...)

is.iriswadl(x, ...)

parameters(x, ...)

## S3 method for class 'iriswadl'
parameters(x, ...)

describe(x, ...)

## S3 method for class 'iriswadl'
describe(x, ...)

Arguments

service

character

...

additional objects

u

the full url

x

object to test, describe, or query-construct with

Author(s)

A.J. Barbour

References

[1] http://www.w3.org/Submission/wadl/

See Also

constructor, which generates the appropriate url

iris.query to query IRIS WS

irisws-package

Other Utilities: irisws-package, irisws-queryconstruction, irisws-timeutilities, query.iris

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# simply parse some wadl-xml:
wadl("http://service.iris.edu/irisws/distaz/1/application.wadl")

# shortcut to generating the url, with attributes:
wd <- waddler("timeseries")
class(wd)
is.iriswadl(wd)
# print some information about the webservice
# and return query parameters:
describe(wd)

# Try another webservice
wd <- waddler("traveltime")
# return a data.frame showing the parameters acceptable
# for a query, and indicating if
# they are required and/or have default values:
print(p <- parameters(wd))

abarbour/irisws documentation built on May 10, 2019, 4:07 a.m.