时间:2021-07-01 10:21:17 帮助过:17人阅读
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
?其他??了??
?其他??了??
?其他??了??
怎样判断请求的GetInfo没有给出响应?
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
try { $soap = new SoapClient("http://......?WSDL"); $param = array(); $xml = $soap->GetInfo($param);} catch (Exception $e) { echo $e->getMessage(); //如果出现错误,都会到达这里}
try { $soap = new SoapClient("http://......?WSDL"); $param = array(); $xml = $soap->GetInfo($param);} catch (Exception $e) { echo $e->getMessage(); //如果出现错误,都会到达这里}
try { $soap = new SoapClient("http://......?WSDL"); $param = array(); $xml = $soap->GetInfo($param);} catch (Exception $e) { echo $e->getMessage(); //如果出现错误,都会到达这里}
怎样判断请求的GetInfo没有给出响应?
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
怎样判断请求的GetInfo没有给出响应?
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
try catch看看有什么问题。
try { $soap = new SoapClient("http://......?WSDL"); $param = array(); $xml = $soap->GetInfo($param);} catch (Exception $e) { echo $e->getMessage(); //如果出现错误,都会到达这里}谢谢,我就是这么干的。
怎样判断请求的GetInfo没有给出响应?
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
try { $soap = new SoapClient("http://......?WSDL"); $param = array(); $xml = $soap->GetInfo($param);} catch (Exception $e) { echo $e->getMessage(); //如果出现错误,都会到达这里}