Functions | Variables

Services/SOAPAuth/dummy_client.php File Reference

Go to the source code of this file.

Functions

 showResult (&$client, $data, $message)

Variables

 exit
 $server = "http://www.ilias.de/lt4el/Services/SOAPAuth/dummy_server.php"
 $ext_uid = "testuser"
 $soap_pw = "testpw"
 $new_user = "new_user"]
 $client = new soap_client($server)
if($err=$client->getError()) $namespace = "http://testuri.org"
 $valid

Function Documentation

showResult ( &$  client,
data,
message 
)

Definition at line 63 of file dummy_client.php.

References $client, $data, and exit.

{
        if($client->fault) {
                echo '<h2>Fault</h2><pre>';
                print_r($data);
                echo '</pre>';
        }
        else 
        {
                // Check for errors
                $err = $client->getError();
                if ($err) {
                        // Display the error
                        echo '<h2>Error</h2><pre>' . $err . '</pre>';
                        exit;
                } else {
                        // Display the result
                        echo '<h2>Result '.$message.'</h2><pre>';
                        print_r($data ? $data : 'FAILED');
                        echo '</pre>';
                }
        }
}


Variable Documentation

$client = new soap_client($server)
$ext_uid = "testuser"

Definition at line 16 of file dummy_client.php.

Referenced by isValidSession().

if ($err=$client->getError()) $namespace = "http://testuri.org"
$new_user = "new_user"]
$server = "http://www.ilias.de/lt4el/Services/SOAPAuth/dummy_server.php"

Definition at line 12 of file dummy_client.php.

$soap_pw = "testpw"

Definition at line 20 of file dummy_client.php.

Referenced by isValidSession().

$valid
Initial value:
 $client->call('isValidSession',
                array('ns1:ext_uid' => $ext_uid,
                        'ns1:soap_pw' => $soap_pw,
                        'ns1:new_user' => $new_user), $namespace,
                        $namespace."/isValidSession")

Definition at line 53 of file dummy_client.php.

Referenced by Spreadsheet_Excel_Writer_Workbook::addValidator(), ilMDEditorGUI::listEducational(), ilMDEditorGUI::listQuickEdit(), ilStartUpGUI::showUserMappingSelection(), and ilObjLinkResourceGUI::updateItemsObject().

Definition at line 3 of file dummy_client.php.