我正在尝试通过他们的网络服务平台从CBR(俄罗斯中央银行 - cbr.ru)检索数据。基本上,我受到来自this example的代码的启发,使用SS的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
有人能就这里出了什么问题向我提出建议吗?