我要消耗 错误消费Web服务4.0
所以我想使用web服务的WSDL地址(https://service/Services.wsdl
)添加一个服务引用内置的Axis2从净
The document was understood, but it could not be processed.
- The WSDL document contains links that could not be resolved.
- There was an error downloading https://service/Services.xsd.
...etc
最后一个错误(错误下载.xsd)可能是什么原因导致我这个问题。这是因为VS2010试图在这个地址下载:https://service/Services.xsd
但实际上它奠定了这里:https://service/GoodServices.xsd
编辑
我怎么能告诉VS2010采取从上面的正确链接XSD而不是由错误的wsdl导致错误的解决方案?
看看wsdl本身。应在文档或其中一个引用的文档中的某处提及“错误的”URL。这通常是服务提供商的问题。 –
是的,它在wsdl的某个地方,我发现如何自己解决它:https://preprodservices.crif-online.ch/CrifSS/CrifSoapServiceV1?xsd= sacrif-soap-service_v1.0.xsd,但现在我怎么知道VS2010检查那里而不是它检查 –