doumiebiao6827 2013-04-04 13:31
浏览 47

XMLRPC调用错误

I'm having problem during XMLRPC call. The code is following:

$msg = new xmlrpcmsg(
    "contact.search",
    array(
        //Set user id
        new xmlrpcval($tableID, "int"),
        new xmlrpcval(
        array(
            "email"=> new xmlrpcval($searchEmail, "string"),
        ),"struct"
    )
));

$response = $xmlrpc->send($msg);
var_dump($row);
var_dump($response);

When call happens, I get following error message (var_dumped):

public 'val' => int 0
  public 'valtyp' => null
  public 'errno' => int 2
  public 'errstr' => string 'Invalid return payload: enable debugging to examine incoming payload xmlrpc element I8 cannot be child of VALUE' (length=111)
  public 'payload' => null
  public 'hdrs' => 

Value of $tableID=3.
Value of $searchEmail="exampl@fooo.com"

What I'm doing wrong?

  • 写回答

1条回答 默认 最新

  • duanci5913 2013-04-05 01:54
    关注

    Anyone who has same problem should download updated version of xmlrpc.inc library on this link.

    Cheers!

    评论

报告相同问题?

悬赏问题

  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序