php webservice client
程序员文章站
2022-06-08 21:47:59
...
?php try { //$client = new SoapClient(HelloService.wsdl,array('encoding'='UTF-8')); $client = new SoapClient(http://webservice.webxml.com.cn/webservices/qqOnlineWebService.asmx?wsdl); var_dump($client-__getFunctions()); print(br/); var_dum
try {
//$client = new SoapClient("HelloService.wsdl",array('encoding'=>'UTF-8'));
$client = new SoapClient("http://webservice.webxml.com.cn/webservices/qqOnlineWebService.asmx?wsdl");
var_dump($client->__getFunctions());
print("
");
var_dump($client->__getTypes());
print("
");
class qqCheckOnline{
var $qqCode = "10000";
};
$arrPara = array(new qqCheckOnline);
$arrResult = $client->__Call("qqCheckOnline",$arrPara);//$client->qqCheckOnline($arrPara);
echo $arrResult->qqCheckOnlineResult . "
";
} catch (SOAPFault $e) {
print $e;
}
?>
声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。
上一篇: MySQL的服务无法启动 系统发生1058错误_MySQL
下一篇: PHP cdata 处理