php webservice client
程序员文章站
2023-12-30 16:26:28
...
?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核实处理。
推荐阅读