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 |
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>'; } } }
$client = new soap_client($server) |
Definition at line 38 of file dummy_client.php.
Referenced by ilSoapAdministration::__checkSession(), ilSetupGUI::changeDefaultClient(), ilSetup::checkAccess(), ilSetup::checkClientContact(), ilSetup::checkClientDatabase(), ilSetup::checkClientIni(), ilSetup::checkClientNIC(), ilSetup::checkFinish(), ilSetupGUI::displayClientList(), ilSetup::getStatus(), ilClientList::init(), ilCron::initLog(), login(), ilSoapUserAdministration::login(), loginCAS(), ilSoapUserAdministration::loginCAS(), ilStartUpGUI::showClientList(), and showResult().
$ext_uid = "testuser" |
Definition at line 16 of file dummy_client.php.
Referenced by isValidSession().
if ($err=$client->getError()) $namespace = "http://testuri.org" |
Definition at line 51 of file dummy_client.php.
Referenced by ilBMFClient::__generate(), ilBMFWSDL::_getComplexTypeForElement(), ilBMFWSDL::addNamespace(), wsdl::addOperation(), soap_client::call(), ilBMFClient::call(), soap_server::configureWSDL(), ilBMFWSDL::generateProxyCode(), ilBMFWSDL::getComplexTypeNameForElement(), ilBMFWSDL::getNamespace(), ilBMFWSDL::getNamespaceAttributeName(), soap_server::register(), ilBMFTransport_SMTP::send(), wsdl::start_element(), ilBMFWSDL_Parser::startElement(), and ilBMFParser::startElement().
$new_user = "new_user"] |
Definition at line 24 of file dummy_client.php.
Referenced by ilSoapUserAdministration::addUser(), isValidSession(), and ilSOAPAuth::validateSOAPUser().
$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 |
$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.