信息公开系统webservice接口相关
发布时间:2020-12-16 23:01:42 所属栏目:安全 来源:网络整理
导读:如果在测试中获取对象空白,需要打开php.ini中的extension=php_soap.dll功能 $server = "http://xxgk.xxxx.gov.cn/gov/services/WSReceive?wsdl";$client = new SoapClient ($server);var_dump ( $client-__getFunctions () );//获取服务器开放接口函数echo(
如果在测试中获取对象空白,需要打开php.ini中的extension=php_soap.dll功能 $server = "http://xxgk.xxxx.gov.cn/gov/services/WSReceive?wsdl"; $client = new SoapClient ($server); var_dump ( $client->__getFunctions () );//获取服务器开放接口函数 echo("测试查询数据<br>"); echo $client->wsGetInfos(16320,1,10,"admin","",""); 测试结果: 获取的接口方法: 0 => string 'string wsGetWeb(string $strWebIds,string $strLoginId,string $strPwd,string $strKey)' (length=86) 1 => string 'string wsGetColumn(string $strWebId,string $strKey)' (length=88) 2 => string 'string wsGetColumnStyle(string $cataId)' (length=39) 3 => string 'string wsGetColumnTotalNumber(string $cataId)' (length=45) 4 => string 'string wsGetColumnTotalNumberExtend(string $cataId,string $strStartCTime,string $strEndCTime,string $strStartDTime,string $strEndDTime)' (length=139) 5 => string 'string wsGetInfosBase64(int $nCataId,int $bLink,int $nStart,int $nEnd,string $strKey,string $strEndDTime)' (length=213) 6 => string 'string wsGetInfosExtend(int $nCataId,string $strKey)' (length=125) 7 => string 'string wsGetInfosExtendBase64(int $nCataId,string $strKey)' (length=131) 8 => string 'string wsGetInfos(int $nCataId,string $strEndDTime)' (length=207) 9 => string 'string wsGetInfosByIdsBase64(int $nCataId,string $strInfoIds,string $strKey)' (length=126) 10 => string 'string wsGetCountByColumn(string $strStartCTime,string $strEndDTime,int $nCataId)' (length=127) 11 => string 'string wsGetInfosByIds(int $nCataId,string $strKey)' (length=120) 12 => string 'string wsGetSubInfos(int $nCataId,string $strKey)' (length=110) 13 => string 'string wsGetAllInfosBase64(int $nCataId,string $strKey)' (length=128) 14 => string 'string wsGetAllInfos(int $nCataId,string $strKey)' (length=122) 15 => string 'string wsGetAllInfosByIdsBase64(int $nCataId,string $strKey)' (length=129) 16 => string 'string wsGetAllInfosByIds(int $nCataId,string $strKey)' (length=123) 17 => string 'string wsSyncGetInfos(int $nCataId,int $iStyle,string $strKey)' (length=100) 18 => string 'string wsSyncGetInfos(int $nCataId,string $strKey)' (length=100) 19 => string 'string wsGetSyncColumns()' (length=25) 20 => string 'string wsSyncSuccessed(string $str,string $state)' (length=50) 21 => string 'string wsSyncDelete(string $str,string $state)' (length=47) 22 => string 'string wsGetSubCatalogs(string $strCataId)' (length=42) 23 => string 'string getClientIpAxis()' (length=24) (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |