Omegahat SSOAP错误 - 尝试从没有插槽的基本类(“NULL”)的对象获取插槽“名称”

时间:2014-12-18 09:27:01

标签: r soap

我正在尝试使用下面的脚本(来源:Alexandre Rademaker)使用SSOAP包处理供应商WSDL,但是遇到下面的硬错误而无法继续进行。在详细模式中,我看到processWSDL函数能够在遇到此错误之前处理几个项目。有没有人成功解决这个SSOAP错误?感谢您的回复。

library(SSOAP)
library(XML)
library(RCurl)

wsdl = getURL("https://<URL>/wsdl")
doc  <- xmlInternalTreeParse(wsdl) ## I see the formatted XML 
def <- processWSDL(doc, verbose = TRUE)  ##  ERROR below 

Error in FUN(X[[6L]], ...) : 
  trying to get slot "name" from an object of a basic class ("NULL") with no slots
In addition: Warning messages:
1: In processAttribute(type, name, namespaceDefs = namespaceDefs, targetNamespace = targetNamespace,  :
  <fixme> Skipping children in <attribute> definition
2: In processAttribute(type, name, namespaceDefs = namespaceDefs, targetNamespace = targetNamespace,  :
  <fixme> Skipping children in <attribute> definition
3: In processAttribute(type, name, namespaceDefs = namespaceDefs, targetNamespace = targetNamespace,  :
  <fixme> Skipping children in <attribute> definition
4: In processAttribute(type, name, namespaceDefs = namespaceDefs, targetNamespace = targetNamespace,  :
  <fixme> Skipping children in <attribute> definition
5: In processAttribute(type, name, namespaceDefs = namespaceDefs, targetNamespace = targetNamespace,  :
  <fixme> Skipping children in <attribute> definition

0 个答案:

没有答案