怎样判断请求的GetInfo没有给出响应?
$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(); //如果出现错误,都会到达这里}