Magento SOAP v2 API错误:SOAP-ERROR:解析架构:无法从“http://schemas.xmlsoap.org/soap/encoding/”导入架构

时间:2015-01-08 09:22:50

标签: c# xml web-services magento soap

我在visual studio 2013 c#

中收到错误

MAPI错误:SOAP-ERROR:解析架构:无法从“http://schemas.xmlsoap.org/soap/encoding/”导入架构

我的WSDL文件 有注释

  

import namespace =“http://schemas.xmlsoap.org/soap/encoding/”schemaLocation =“http://schemas.xmlsoap.org/soap/encoding/”/>

任何解决方法

1 个答案:

答案 0 :(得分:0)

我刚遇到同样的错误。从不同系统进行测试,似乎xmlsoap.org网站不稳定不可用:

$ GET http://schemas.xmlsoap.org/soap/envelope/
Can't connect to schemas.xmlsoap.org:80 (Connection timed out)

所以你最好的办法是在本地缓存它。

我还写了一篇关于the worldwide crash of Magento API's的博文。