dsizmmwnm56437180 2013-04-10 11:12
浏览 100

使用PHP,Magento soap api登录失败

I am working with magento soap api and it's works fine in my local machine and development server but when i moved my code to production server i found the following error:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.mydomain.com/magento/index.php/api/soap/index/?wsdl=1' : failed to load external entity "http://www.mydomain.com/magento/index.php/api/soap/index/?wsdl=1" Stack trace: #0 [internal function]: SoapClient->__call('login', Array) #1

I have also check the SOAP setting on server everything is OK but still this error comes.

Please help me...!

  • 写回答

1条回答

  • dsf45346 2015-08-04 04:18
    关注

    I confronted the same problem. I used V2 Soap. So to create SoapClient, please try .../api/v2_soap/?wsdl=1 Hope this helps you.

    评论

报告相同问题?

悬赏问题

  • ¥15 luckysheet
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码
  • ¥50 随机森林与房贷信用风险模型
  • ¥50 buildozer打包kivy app失败
  • ¥30 在vs2022里运行python代码
  • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
  • ¥15 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误