Magento SOAP 2 API致命错误:不存在过程“登录" [英] Magento SOAP 2 API Fatal error: Procedure 'login' not present

查看:61
本文介绍了Magento SOAP 2 API致命错误:不存在过程“登录"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到:致命错误:/chroot/home/mystore/mystore.my/html/lib/Zend/Soap/Server.php的第832行上没有过程登录"

I am getting: Fatal error: Procedure 'login' not present in /chroot/home/mystore/mystore.com/html/lib/Zend/Soap/Server.php on line 832

这是错误的出处

$soap = $this->_getSoap();

    ob_start();
    if($setRequestException instanceof Exception) {
        // Send SOAP fault message if we've catched exception
        $soap->fault("Sender", $setRequestException->getMessage());
    } else {
        try {
            $soap->handle($request);
        } catch (Exception $e) {
            $fault = $this->fault($e);
            $soap->fault($fault->faultcode, $fault->faultstring);

关于如何解决该错误的任何想法?

Any Ideas on how to fix the error?

推荐答案


我遇到了同样的问题,我要解决的问题是转到系统/配置/Magento Core API"并将"WS-I Compliance"值设置为否".
我正在使用使用Magento V2 API的WebService,我不记得是否使用此值为"Yes"来生成Web参考.我正在使用VS 2010使用WS C#.


I had the same issue, and which I did to fix it was to go to System/Configuration/Magento Core API and set the value WS-I Compliance as 'No'.
I'm working with a WebService which consumes the Magento V2 API, I don't recall if I generate the web reference using this value as 'Yes'; I'm working with a WS C# using VS 2010.

这篇关于Magento SOAP 2 API致命错误:不存在过程“登录"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆