SOAP-ERROR:解析架构:意外&element>在复杂型中
当尝试使用以下命令连接到 Web 服务时
$client = new SoapClient("http://vocab.ndg.nerc.ac.uk/1.1/VocabServerAPI_dl.wsdl");
,我收到此错误消息
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: Outstanding in ComplexTyp
这看起来很奇怪,因为我所做的只是尝试连接到它不使用其中的任何功能。
有谁知道什么会导致这个错误?
When trying to connect to a web service using the following
$client = new SoapClient("http://vocab.ndg.nerc.ac.uk/1.1/VocabServerAPI_dl.wsdl");
I get this error message
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: unexpected in complexTyp
Which seems odd as all I am doing is trying to connect to it not use any functions from it.
Does anyone know what would be causing this error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
WSDL 本身。出现此错误时,WSDL 的编写方式有问题。到底是什么?我不知道。
The WSDL itself. There is something wrong with the way the WSDL is written when this error comes up. What exactly? I don't know.