inst/examples/water.S

h = getCurlHandle(verbose = TRUE)
#http://schemas.xmlsoap.org/soap/envelope/

s <- SOAPServer("http://river.sdsc.edu/NWISTS/nwis.asmx")
.SOAP(s, "GetSiteInfo", SiteInfo = '18050002',
       action = I("http://tempuri.org/NWISTS/NWIS2/GetSiteInfo"),
       xmlns = c(namesp1 = "http://tempuri.org/NWISTS/NWIS2"),
       nameSpaces = unlist(merge(list("SOAP-ENV" = "http://schemas.xmlsoap.org/soap/envelope/"), SOAPNameSpaces(version = "1.2"))),
       curlHandle = h)
sckott/SSOAP documentation built on Sept. 16, 2020, 5:49 p.m.