ILIAS  Release_5_0_x_branch Revision 61816
 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, 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 SurveyQuestionGUI\addSelectedPhrase(), Spreadsheet_Excel_Writer_Workbook\addValidator(), ilObjFileBasedLMGUI\afterSave(), ilSelectInputGUI\checkInput(), ilObjLinkResourceGUI\checkLinkInput(), ilClaimingPermissionHelper\checkPlugins(), ilObjPortfolioBase\clonePagesAndSettings(), SurveyQuestionGUI\confirmSavePhrase(), ilPCSkillsGUI\create(), ilAccountCodesGUI\createCodes(), ilRegistrationSettingsGUI\createCodes(), ilSurveyEvaluationGUI\determineAppraiseeId(), ilSetupGUI\displaySessions(), ilFileSystemGUI\downloadFile(), ilObjFileBasedLMGUI\executeCommand(), ilAuthContainerSOAP\fetchData(), ilObjExerciseSubItemListGUI\getHTML(), ilContainerRenderer\getHTML(), ilAccountCodesTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilUserUtil\getPersonalStartingPoint(), ilUserUtil\getStartingPoint(), ilTrQuery\getSummaryDataForObject(), ilLinkResourceItems\getValidStatus(), ilWebLinkXmlParser\handlerBeginTag(), ilAdvancedMDRecordGUI\importEditFormPostValues(), ilAdvancedMDRecordGUI\importSearchForm(), ilAccountCodesGUI\initAddCodesForm(), ilObjUserTrackingGUI\initSettingsForm(), ilTaggingClassificationProvider\isActive(), ilObjectLP\isSupportedObjectType(), ilADTInteger\isValid(), ilADTText\isValid(), ilADTMultiText\isValid(), ilADTDate\isValid(), ilADTDateTime\isValid(), ilADTLocation\isValid(), ilADTGroup\isValid(), ilClaimingPermissionHelper\isValidContextAndAction(), TCPDF_STATIC\isValidCSSSelectorForTag(), ilCalendarSchedule\isValidEventByFilters(), ilUDFClaimingPlugin\isValidFieldType(), ilAdvancedMDClaimingPlugin\isValidObjType(), ilDBUpdateNewObjectType\isValidRBACOperation(), ilMDEditorGUI\listEducational(), ilMDEditorGUI\listQuickEdit_scorm(), Structures_BibTex\parse(), Mail_RFC822\parseAddressList(), ilLPStatus\preloadListGUIData(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjExerciseGUI\saveAssignmentObject(), ilCronDeleteInactiveUserAccounts\saveCustomSettings(), ilObjUserFolderGUI\saveGeneralSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjUserFolderGUI\saveLoginnameSettingsObject(), ilObjContentObjectGUI\saveProperties(), ilObjSurveyGUI\savePropertiesObject(), ilTable2GUI\setExportFormats(), ilPageLayout\setModules(), ilUserUtil\setPersonalStartingPoint(), ilUserUtil\setStartingPoint(), ilProgressBar\setType(), ilStartUpGUI\showUserMappingSelection(), ilCronManagerGUI\update(), ilPCAMDPageListGUI\update(), ilPCSkillsGUI\update(), ilADTBasedObjectGUI\updateAction(), ilObjExerciseGUI\updateAssignmentObject(), HTMLPurifier_AttrDef_URI_Host\validate(), ilADTGroupFormBridge\validate(), ilRegistrationSettings\validate(), ilCustomUserFieldsGUI\validateForm(), ilExAssignment\validatePeerReview(), ilExAssignment\validatePeerReviewGroups(), and ilObjPollGUI\vote().

exit

Definition at line 3 of file dummy_client.php.