【问题标题】:XMLRPC call errorXMLRPC 调用错误
【发布时间】:2013-04-04 13:31:32
【问题描述】:

我在 XMLRPC 调用期间遇到问题。代码如下:

$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);

当调用发生时,我收到以下错误消息(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' => 

$tableID=3 的值。
$searchEmail="exampl@fooo.com"的值

我做错了什么?

【问题讨论】:

    标签: php xml-rpc xmlrpclib xmlrpcclient


    【解决方案1】:

    任何有同样问题的人都应该在this链接上下载更新版本的xmlrpc.inc库。

    干杯!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-02-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-18
      • 1970-01-01
      • 1970-01-01
      • 2012-02-04
      相关资源
      最近更新 更多