Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Magento SOAP-ERROR,错误的API URL_Php_Magento_Soap_Wsdl_Magento 1.7 - Fatal编程技术网

Php Magento SOAP-ERROR,错误的API URL

Php Magento SOAP-ERROR,错误的API URL,php,magento,soap,wsdl,magento-1.7,Php,Magento,Soap,Wsdl,Magento 1.7,我对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

我对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/”,而不带“:“before/”

编辑:实际上添加的用户/过程是APC的用户/过程


我尝试在
/etc/hosts
中添加:
IP ADDRESS example.com
,但它不起作用

使用以下解决方案:

肥皂:

XML-RPC:


使用以下解决方案:

肥皂:

XML-RPC:


如果这与Magento无关,我也不会感到惊讶。你为什么这么说@RobbieAverillI不会感到惊讶如果这与Magento无关你为什么这么说@罗比埃维尔