Magento &引用;错误:调用参数与签名不匹配;在iphone web应用程序中使用ajax jquery时

Magento &引用;错误:调用参数与签名不匹配;在iphone web应用程序中使用ajax jquery时,magento,jquery,xml-rpc,iphone,iphone-web-app,Magento,Jquery,Xml Rpc,Iphone,Iphone Web App,在创建iphone web应用程序时,我曾调用magento web服务。在的帮助下,我可以访问magento web服务。我的代码 <script src="js/jquery.mobile-1.2.0.min.js"></script> <script src="js/jquery-1.8.3.min.js"></script> <link rel="stylesheet" href="css/jquery.mobile-1.2.0.mi

在创建iphone web应用程序时,我曾调用magento web服务。在的帮助下,我可以访问magento web服务。我的代码

<script src="js/jquery.mobile-1.2.0.min.js"></script>
<script src="js/jquery-1.8.3.min.js"></script>
<link rel="stylesheet" href="css/jquery.mobile-1.2.0.min.css"></link>
<script src="js/jquery.xmlrpc.js"></script>

<script>
$(function(){
$("button").click(function(){
   $.xmlrpc({
          url:"link of my magento/xmlrpc",
          methodName:'login',
          params:['user','pass'],
          success: function(response, status, jqXHR) {
                  var res=response;
                  alert(res); // getting alert as session id as login response
             $.xmlrpc({
                       url:"link of my magento/xmlrpc",
                       methodName:'call',

               //passing session id from the previous response
                       params:{sessionId:res,methodName:'customer.info',customerId:'3'},
                       success: function(response1, status1, jqXHR1) {alert("success:"+response1);},
                       error: function(jqXHR1, status1, error1) {alert(error1); }
                   });
                },
            error: function(jqXHR, status, error) {alert(error); }
         });
     });
 });

</script>

$(函数(){
$(“按钮”)。单击(函数(){
$.xmlrpc({
url:“我的magento/xmlrpc的链接”,
方法名称:'login',
参数:['user','pass'],
成功:功能(响应、状态、jqXHR){
var res=响应;
警报(res);//将警报作为会话id作为登录响应获取
$.xmlrpc({
url:“我的magento/xmlrpc的链接”,
方法名称:'call',
//从上一个响应传递会话id
参数:{sessionId:res,methodName:'customer.info',customerId:'3'},
成功:函数(response1,status1,jqXHR1){alert(“成功:+response1”);},
错误:函数(jqXHR1,status1,error1){alert(error1);}
});
},
错误:函数(jqXHR,状态,错误){alert(error);}
});
});
});
这里我的问题是,当我运行应用程序时,我获取会话id并将id传递给下一个方法“call”和参数。执行此代码时,我会出现一个错误,指出“错误:调用参数与签名不匹配”


我也改变了传递参数的方式,但没有希望。有谁能建议我如何解决这个问题。

我认为这是一个bug


看看这个线程:

我试着对这些行进行注释,如中所述,现在它将错误声明为“错误:会话已过期。请尝试重新登录”