tbrehm
2009-11-19 fbdcc4579d09d6069d3b72fc1c0ae5f1b6891e79
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
<?php
 
require('soap_config.php');
 
 
$client = new SoapClient(null, array('location' => $soap_location,
                                     'uri'      => $soap_uri));
 
 
try {
    if($session_id = $client->login($username,$password)) {
        echo 'Login successfull. SessionID:'.$session_id.'<br />';
    }
 
    $client_id = 3;
    $affected_rows = $client->client_delete($session_id, $client_id);
    
    
    
    if($client->logout($session_id)) {
        echo 'Logout.<br />';
    }
    
    
} catch (SoapFault $e) {
    die('SOAP Error: '.$e->getMessage());
}
 
?>