magento 中找不到 api 目录
我是 magento 的新手,正在尝试。我已经成功安装了 magento。创建一个用户来访问magento API。 但是当我尝试通过 SOAP 建立连接时遇到问题。
$proxy = new SoapClient('http://127.0.0.1/magento/api/soap/?wsdl');
我发现在magento文件夹中找不到“api”目录。安装 magento 后,我在 php.ini 中启用了“soap 扩展”(extension=php_soap.dll)
我现在应该重新安装 magento 吗?
我的 PHP 版本 5.3.4
谢谢, 卡蒂克
I am new to magento and trying it out.. I have successfully installed magento. Created a user to access magento API’s.
But I face problem when I try to establish the connection through SOAP.
$proxy = new SoapClient(’http://127.0.0.1/magento/api/soap/?wsdl’);
I found that "api" directory is not found in magento folder. After installing magento I have enabled the "soap extension" (extension=php_soap.dll) in php.ini
Should I re-install magento now?
My PHP version 5.3.4
Thanks,
Karthik
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能需要阅读本教程:
http://www.yireo.com/tutorials/magento/magento-programming/629-connecting-to-magento-with-soap-part-1
另外,目录... /api /soap/ 将不会存在,因为它是重写 index.php 的一部分。
You may want to read over this tutorial:
http://www.yireo.com/tutorials/magento/magento-programming/629-connecting-to-magento-with-soap-part-1
Also, the directory ... /api/soap/ is not going to exist as it is apart of the rewrite to index.php.