我在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"
的价值
我做错了什么?