“意外的<导入>”是什么意思?在模式中意思是?导入>
我的服务提供商提供的 wsdl 中有以下内容:
<xsd:import namespace="http://web-service-provider.com/2004/10/10" schemaLocation="ASchemas.xsd"/>
<xsd:import namespace="http://web-service-provider.com/2004/10/10" schemaLocation="BSchemas.xsd"/>
<xsd:import namespace="http://web-service-provider.com/2004/10/10" schemaLocation="CSchemas.xsd"/>
当 SoapClient 尝试解析 wsdl 时,我收到以下错误:
SOAP-ERROR: Parsing Schema: unexpected <import> in schema</import>
这到底意味着什么?
谢谢
注释
各种资源的代表性网址为:
wsdl(短网址): https://service- provider.com/services/serviceA?wsdl
wsdl(长网址):https://service-provider.com/services/serviceA/wsdl/serviceA.wsdl
xsd 的:https://service-provider.com/services/serviceA/wsdl/ASchemas.xsd
php version: 5.3.5
I have the following in a wsdl provdided by my service provider:
<xsd:import namespace="http://web-service-provider.com/2004/10/10" schemaLocation="ASchemas.xsd"/>
<xsd:import namespace="http://web-service-provider.com/2004/10/10" schemaLocation="BSchemas.xsd"/>
<xsd:import namespace="http://web-service-provider.com/2004/10/10" schemaLocation="CSchemas.xsd"/>
and I get the following error when the SoapClient tries to parse the wsdl:
SOAP-ERROR: Parsing Schema: unexpected <import> in schema</import>
What exactly does this mean?
Thanks
Notes
The representative url for the various resources are:
wsdl (short url): https://service-provider.com/services/serviceA?wsdl
wsdl (long url): https://service-provider.com/services/serviceA/wsdl/serviceA.wsdl
xsd's: https://service-provider.com/services/serviceA/wsdl/ASchemas.xsd
php version: 5.3.5
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我的服务提供商提供的:
Hmpph。对这个答案不满意
This from my service provider:
Hmpph. Not happy with that answer