php下面Soap出现问题的调试技巧
[ 2014-12-06 15:30:07 | 作者: admin ]
try {
$arrOptions = array(
'uri'=>'CheckAPItest',
'location'=>'http://localhost/ManageWebService/Login.php',
'trace'=>true);
$objSoapClient = new SoapClient(null,$arrOptions);
echo $objSoapClient->actionLogin("yoekey","1234567","mnxf","adfas","dasfas","chinese-utf8");
}
catch (Exception $e)
{
echo "<pre>";
var_dump($objSoapClient->__getLastResponseHeaders());
var_dump($objSoapClient->__getLastResponse());
print_r($e);
echo "</pre>";
}

这篇日志没有评论。
此日志不可发表评论。