我正在运行SOAPUI中的SOAP调用
代码:
$client = new SoapClient($url, array('exceptions' => true));
try {
$a = $client->method($app, $key, array(
'id' => 1,
));
} catch (SoapFault $soapFault) {
die('caught!');
}
代码永远不会在catch
块中结束,我无法通过method()调用。我该如何正确处理这个错误?