<?php
$client = new SoapClient("http://localhost:8080/calculator?wsdl");
$result = $client->add(3,3);
echo $result;
?>
得到错误:
类 stdClass 的对象无法转换为字符串
我怎样才能打印出响应SoapClient
?
<?php
$client = new SoapClient("http://localhost:8080/calculator?wsdl");
$result = $client->add(3,3);
echo $result;
?>
得到错误:
类 stdClass 的对象无法转换为字符串
我怎样才能打印出响应SoapClient
?