欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

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;
}
?>

php webservice client

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn核实处理。