【发布时间】:2017-01-16 21:03:30
【问题描述】:
我在 Magento 1.7.0.2 中遇到 SOAP API 问题
这是错误:
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"
我不知道为什么它会在实际链接之前附加一个随机的USRNM:PSWRD...当链接访问时这样做会重定向到“https//”,而“之前”没有“:” //"
编辑:实际上添加的用户/通行证是 APC 之一
我尝试在/etc/hosts 中添加:IP ADDRESS example.com,但它不起作用......
【问题讨论】:
-
如果这与 Magento 无关,我不会感到惊讶
-
你为什么这么说? @RobbieAverill
标签: php magento soap wsdl magento-1.7