webservice问题,soap问题,响应问题-求大神!大神在哪?
怎样判断请求的GetInfo没有给出响应?
<br />$soap = new SoapClient(“http://xxxxxxxxxWSDL”);<br />$xml = $soap->GetInfo($param);<br />
try {<br /> $soap = new SoapClient("http://......?WSDL");<br /> $param = array();<br /> $xml = $soap->GetInfo($param);<br />} catch (Exception $e) {<br /> echo $e->getMessage(); //如果出现错误,都会到达这里<br />}