i漂泊

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 3375|回复: 0

php SOAP测试代码

[复制链接]
TA的礼物信息
  • 收到:0
  • 送出:2
发表于 2015-3-6 14:15:15 | 显示全部楼层 |阅读模式
  1. <?php
  2. /*
  3. * CopyRight  : [Discuz!] (C)2001-2099 HaoTeam Inc.
  4. * Document   : soap.inc.php
  5. * Created on : 2014-12-17,14:23:26
  6. * Author     : 51漂泊(51piaobo) www.51piaobo.com $
  7. * Description: This is NOT a freeware, use is subject to license terms.
  8. *              这即使是一个免费软件,使用时也请遵守许可证条款,得到当时人书面许可。
  9. *              未经书面许可,不得翻版,翻版必究;版权归属51漂泊;
  10. */

  11. if (!defined('IN_DISCUZ')) {
  12.     exit('Aecsse Denied');
  13. }
  14. $client = new SoapClient('http://0.0.0.0/HsIO_xx_PLU/HsIO_xx_PLU.asmx?wsdl',array('trace'=>true, 'exceptions'=>true, 'style'=>SOAP_DOCUMENT, 'encoding'=>'GBK', 'soap_version'=>SOAP_1_1));
  15. $param = array('inParms'=>'{"TimeMark":0,"MaxCount":20}');
  16. $result = $client->SynPluInfo($param);
  17. print_r($client);exit;
  18. ?>
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|IPiaoBo Inc. ( 渝ICP备17002826号 )

GMT+8, 2024-4-25 15:02 , Processed in 0.066520 second(s), 43 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表