0
我在XMLRPC調用期間遇到問題。代碼如下: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)的$tableID=3
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' =>
價值。
價值$searchEmail="[email protected]"
我做錯了什麼?