[英]Magento SOAP-ERROR, wrong API URL
I'm having problems with the SOAP API in Magento 1.7.0.2 我在Magento 1.7.0.2中遇到SOAP API问题
this is the error: 这是错误:
SOAP-ERROR: Parsing WSDL: Couldn't load from
'http://USRNM:PSWRD@https://www.example.com/index.php/api/index/index/?wsdl=1' :
failed to load external entity
"http://USRNM:PSWRD@https://www.example.com/index.php/api/index/index/?wsdl=1"
I don't know why it appends a random USRNM:PSWRD
before the actual link... doing this when link visited it redirects to " https// " without the ":" before "//" 我不知道为什么它
USRNM:PSWRD
在实际链接之前附加一个随机的USRNM:PSWRD
...当链接访问时执行此操作它会重定向到“ https // ”而没有“:”之前的“//”
edit: actually the user/pass added is the one of APC 编辑:实际上添加的用户/通道是APC之一
I've tried to add: IP ADDRESS example.com
in /etc/hosts
but it doesn't work... 我试图在
/etc/hosts
添加: IP ADDRESS example.com
但它不起作用...
Use the below for solution: 使用以下解决方案:
SOAP : 肥皂 :
http://magentohost/api/?wsdl HTTP:// magentohost / API / WSDL
http://magentohost/api/soap/?wsdl HTTP:// magentohost / API / SOAP / WSDL
http://magentohost/api/v2_soap?wsdl=1 HTTP:// magentohost / API / v2_soap的wsdl = 1?
XML-RPC : XML-RPC:
http://magentohost/api/xmlrpc/ HTTP:// magentohost / API / XMLRPC /
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.