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...
Use the below for solution:
SOAP :
http://magentohost/api/soap/?wsdl
http://magentohost/api/v2_soap?wsdl=1
XML-RPC :
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.