简体   繁体   中英

Magento SOAP-ERROR, wrong API URL

I'm having problems with the SOAP API in Magento 1.7.0.2

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 "//"

edit: actually the user/pass added is the one of APC

I've tried to add: IP ADDRESS example.com in /etc/hosts but it doesn't work...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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