我正在尝试通过他们的网络服务平台从 CBR(俄罗斯中央银行 - cbr.ru)检索数据到 R。基本上,我的灵感来自这个示例中使用 R 的 SSOAP 包的代码。
wsdl <- 'http://www.cbr.ru/secinfo/secinfo.asmx?WSDL'
doc <- xmlInternalTreeParse(wsdl)
def <- processWSDL(doc)
ff <- genSOAPClientInterface(def = def)
xmlstr.f <- ff@functions #gives the list of functions that can be accessed
# just an example of retrieval attempt
t1 <- new('dateTime',as.POSIXct('2012-10-10')) #creating an object of dateTime class as requested
xmlstr.f$GCurve(t1) #trying to call SOAP server with GCurve function
我收到以下错误:
Error in .SOAP(server, .operation@name, parameters = as(parameters, "dateTime"), : object '.operation' not found
谁能给我关于这里出了什么问题的建议?