ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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>';
} else {
// Display the result
echo '<h2>Result '.$message.'</h2><pre>';
print_r($data ? $data : 'FAILED');
echo '</pre>';
}
}
}

Variable Documentation

$client = new soap_client($server)

Definition at line 38 of file dummy_client.php.

$ext_uid = "testuser"

Definition at line 16 of file dummy_client.php.

Referenced by isValidSession().

$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(), ilSelectInputGUI\checkInput(), ilObjLinkResourceGUI\checkLinkInput(), ilAccountCodesGUI\createCodes(), ilSetupGUI\displaySessions(), ilFileSystemGUI\downloadFile(), ilAuthContainerSOAP\fetchData(), ilObjExerciseSubItemListGUI\getHTML(), ilAccountCodesTableGUI\getItems(), ilUserUtil\getPersonalStartingPoint(), ilUserUtil\getStartingPoint(), ilTrQuery\getSummaryDataForObject(), ilLinkResourceItems\getValidStatus(), ilWebLinkXmlParser\handlerBeginTag(), ilAccountCodesGUI\initAddCodesForm(), ilObjUserTrackingGUI\initSettingsForm(), ilDBUpdateNewObjectType\isValidRBACOperation(), ilMDEditorGUI\listEducational(), ilMDEditorGUI\listQuickEdit_scorm(), Mail_RFC822\parseAddressList(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjUserFolderGUI\saveGeneralSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjUserFolderGUI\saveLoginnameSettingsObject(), ilObjContentObjectGUI\saveProperties(), ilTable2GUI\setExportFormats(), ilPageLayout\setModules(), ilUserUtil\setPersonalStartingPoint(), ilUserUtil\setStartingPoint(), ilStartUpGUI\showUserMappingSelection(), HTMLPurifier_AttrDef_URI_Host\validate(), ilRegistrationSettings\validate(), and ilCustomUserFieldsGUI\validateForm().

exit

Definition at line 3 of file dummy_client.php.