summaryrefslogtreecommitdiffstats
path: root/admin/soap/getlastraid.php
blob: b4d97373a9fe8dcedc097d0b674dee44241b9744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/******************************
 * EQdkp
 * Copyright 2002-2005
 * Licensed under the GNU GPL.  See COPYING for full terms.
 * ------------------
 * getlastraid.php
 * begin: Tue April 19 2005
 *
 * $Id: getlastraid.php 46 2007-06-19 07:29:11Z tsigo $
 *
 ******************************/

define('EQDKP_INC', true);
$eqdkp_root_path = './../../';
include_once($eqdkp_root_path . 'common.php');


// Create the client instance
$client = new soapclient($ns . 'admin/soap/dkpsoap.php');

// Call the SOAP method
$output = $client->call('GetLastRaid', array('user' => $soap_user, 'password' => $soap_password));

// Display the result
print_r($output);

echo '<h2>Request</h2>';
echo '<pre>' . htmlspecialchars($client->request, ENT_QUOTES) . '</pre>';
echo '<h2>Response</h2>';
echo '<pre>' . htmlspecialchars($client->response, ENT_QUOTES) . '</pre>';
?>