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

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

php webservice client

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

上一篇:

下一篇: