php-webservice一会能用,一会不能用是几个意思,跟大姨妈似得,太傲娇了

WBOY
Release: 2016-06-02 11:33:21
Original
861 people have browsed it

phpwebservice

某一天能用,过了两天又不能用。经常出问题。是环境问题,还是webservice服务器问题呢,求指点。报错和代码如下图片说明

$client = new SoapClient('http://webservice.webxml.com.cn/WebServices/MobileCodeWS.asmx?wsdl');
$parm=array('mobileCode'=>'18014085993');
$result=$client->getMobileCodeInfo($parm);
echo ($result->getMobileCodeInfoResult);
?>

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!