简体   繁体   English

Magento SOAP-ERROR,错误的API URL

[英]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但它不起作用...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM