WaterOneFlowVersion: WaterOneFlowVersion

Description Usage Arguments Value Examples

View source: R/WaterOneFlowVersion.R

Description

A helper function that finds out the WaterOneFlow service version from the URL of the wsdl file. By default it checks for "cuahsi_1_0" or "cuahsi_1_1" in the url. If that is not found, then the function checks the version inside the WSDL file.

Usage

1

Arguments

WSDL

The URL of the WSDL, for example http://icewater.usu.edu/MudLake/cuahsi_1_0.asmx?WSDL

Value

A list with two items: Version (either 1.0 or 1.1), and Namespace (either http://www.cuahsi.org/his/1.0/ws/ or http://www.cuahsi.org/his/1.1/ws/)

Examples

1
2
3
versionInfo <- WaterOneFlowVersion("http://icewater.usu.edu/MudLake/cuahsi_1_0.asmx?WSDL")
versionInfo$Version
versionInfo$Namespace

WaterML documentation built on April 10, 2021, 9:05 a.m.