我在课堂上有这样的功能
public function browseNodeLookup($nodeId)
{
return $this->returnData(
$this->performSoapRequest("BrowseNodeLookup", $params)
);
}
我正在这样使用它
$response = $amazonEcs->browseNodeLookup($node);
var_dump($response);
现在对象 var_dump 看起来像这样
object(SoapFault)#279 (10) {
["message":protected]=>
string(178) "The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details."
}
我想回应那条信息。有人能告诉我怎么做吗?
我试过这样
echo $response->message;
但我收到错误,因为它受到保护。