首页 > 代码库 > PHP调用SOAP Webservice

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);

  

PHP调用SOAP Webservice