php soap出现问题的调试技巧...
时间:2010-08-09 来源:mecho
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>";
}
http://blog.csdn.net/ly4885806/archive/2010/01/09/5165769.aspx
相关阅读 更多 +