PHP调用SOAP Webservice

$objSoapClient=new SoapClient("http://www.webxml.com.cn/Webservices/WeatherWebService.asmx?wsdl");
$params=array('theCityName'=>'北京');
$out=$objSoapClient->getWeatherbyCityName($params);
print_r( $out);

  

posted @ 2014-12-12 10:43  valentine is me  阅读(132)  评论(0编辑  收藏  举报