1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- exit;
- require_once '../inc/global.inc.php';
- global $_configuration;
- $ip = trim($_SERVER['REMOTE_ADDR']);
- $signature = sha1($ip.$_configuration['security_key']);
- $uid = 1;
- $cid = 1;
- $lpid = 1;
- $lpiid = 1;
- $server = api_get_path(WEB_CODE_PATH).'webservices/soap.php?wsdl';
- $client = new SoapClient($server, array('cache_wsdl' => WSDL_CACHE_NONE));
- $response = $client->{'WSReport.test'}();
- echo '<pre>'.$response.'</pre>';
|