ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
dummy_client.php File Reference

Go to the source code of this file.

Functions

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

Variables

 exit
 
 $server
 
 $ext_uid
 
 $soap_pw
 
 $new_user = $_GET["new_user"]
 
 $client = new soap_client($server)
 
if($err=$client->getError()) $namespace = "http://testuri.org"
 
 $valid
 

Function Documentation

◆ showResult()

showResult ( $client,
  $data,
  $message 
)

Definition at line 65 of file dummy_client.php.

References $client, $data, $message, and exit.

66 {
67  if ($client->fault) {
68  echo '<h2>Fault</h2><pre>';
69  print_r($data);
70  echo '</pre>';
71  } else {
72  // Check for errors
73  $err = $client->getError();
74  if ($err) {
75  // Display the error
76  echo '<h2>Error</h2><pre>' . $err . '</pre>';
77  exit;
78  } else {
79  // Display the result
80  echo '<h2>Result ' . $message . '</h2><pre>';
81  print_r($data ? $data : 'FAILED');
82  echo '</pre>';
83  }
84  }
85 }
$client
catch(Exception $e) $message
exit
Definition: dummy_client.php:3
$data
Definition: bench.php:6

Variable Documentation

◆ $client

$client = new soap_client($server)

Definition at line 38 of file dummy_client.php.

Referenced by showResult().

◆ $ext_uid

$ext_uid
Initial value:
= $_GET["ext_uid"]
? $_GET["ext_uid"]
: "testuser"
$_GET["client_id"]

Definition at line 16 of file dummy_client.php.

Referenced by isValidSession().

◆ $namespace

◆ $new_user

$new_user = $_GET["new_user"]

Definition at line 24 of file dummy_client.php.

Referenced by ilAuthContainerSOAP\fetchData(), and isValidSession().

◆ $server

$server
Initial value:
= $_GET["server"]
? $_GET["server"]
: "http://www.ilias.de/lt4el/Services/SOAPAuth/dummy_server.php"
$_GET["client_id"]

Definition at line 12 of file dummy_client.php.

◆ $soap_pw

$soap_pw
Initial value:
= $_GET["soap_pw"]
? $_GET["soap_pw"]
: "testpw"
$_GET["client_id"]

Definition at line 20 of file dummy_client.php.

Referenced by isValidSession().

◆ $valid

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

Definition at line 52 of file dummy_client.php.

Referenced by SurveyQuestionGUI\addSelectedPhrase(), ilObjFileBasedLMGUI\afterSave(), arEditGUI\afterValidation(), PhpOffice\PhpSpreadsheet\Reader\Xml\canRead(), ilSamlIdpMetadataInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilTagInputGUI\checkInput(), ilDateTimeInputGUI\checkInput(), ilOrgUnitMultiLineInputGUI\checkInput(), ilOrgUnitGenericMultiInputGUI\checkInput(), ilDclGenericMultiInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilObjLinkResourceGUI\checkLinkInput(), ilLPStatus\checkLPModesForObjects(), ilClaimingPermissionHelper\checkPlugins(), ilDclNumberFieldModel\checkValidity(), ilConditionHandler\cloneDependencies(), ilObjPortfolioBase\clonePagesAndSettings(), SurveyQuestionGUI\confirmSavePhrase(), ilPCSkillsGUI\create(), ilPCLearningHistoryGUI\create(), ilAccountCodesGUI\createCodes(), ilRegistrationSettingsGUI\createCodes(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilSurveyEvaluationGUI\determineAppraiseeId(), ilLoggingActivity\determineValidityOfLogLevel(), ilSetupGUI\displaySessions(), ilExPeerReviewGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilAuthContainerSOAP\fetchData(), Slim\Http\Uri\filterScheme(), ilExPeerReview\getAllPeerReviews(), ilLPStatusCollectionMobs\getCollectionItems(), ilObjExerciseSubItemListGUI\getHTML(), ilContainerRenderer\getHTML(), ilAccountCodesTableGUI\getItems(), ilTrSummaryTableGUI\getItems(), ilUserUtil\getPersonalStartingPoint(), ilUserStartingPointGUI\getRoleStartingPointForm(), ilUserUtil\getStartingPoint(), ilTrQuery\getSummaryDataForObject(), ilTestSkillLevelThresholdsGUI\getTestId(), ilLOUtils\getTestResultLinkForUser(), ilUserClipboard\getValidatedContent(), ilLinkResourceItems\getValidStatus(), ilExerciseManagementGUI\handleIndividualDeadlineCallsObject(), ilWebLinkXmlParser\handlerBeginTag(), ilAuthProviderSoap\handleSoapAuth(), ilAdvancedMDRecordGUI\importEditFormPostValues(), ilAdvancedMDRecordGUI\importSearchForm(), ilAccountCodesGUI\initAddCodesForm(), ilBadgeManagementGUI\initBadgeForm(), ilObjUserTrackingGUI\initSettingsForm(), ilTaggingClassificationProvider\isActive(), ilObjectLP\isSupportedObjectType(), ilMailMailingListAddressType\isValid(), ilADTInteger\isValid(), ilADTText\isValid(), ilADTMultiText\isValid(), ilADTDateTime\isValid(), ilADTDate\isValid(), ilADTInternalLink\isValid(), ilADTLocation\isValid(), ilADTGroup\isValid(), ilADTExternalLink\isValid(), ilClaimingPermissionHelper\isValidContextAndAction(), TCPDF_STATIC\isValidCSSSelectorForTag(), ilUDFClaimingPlugin\isValidFieldType(), ilMembershipNotifications\isValidMode(), ilAdvancedMDClaimingPlugin\isValidObjType(), ilDBUpdateNewObjectType\isValidRBACOperation(), ilMDEditorGUI\listEducational(), ilMDEditorGUI\listQuickEdit_scorm(), Mail_RFC822\parseAddressList(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilObjTestVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilBookingObjectGUI\save(), ilDclRecordEditGUI\save(), ilCronDeleteInactiveUserAccounts\saveCustomSettings(), ilObjUserFolderGUI\saveGeneralSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjUserFolderGUI\saveLoginnameSettingsObject(), ilObjContentObjectGUI\saveProperties(), ilObjSurveyGUI\savePropertiesObject(), ilTable2GUI\setExportFormats(), ilLoggingActivity\setLogLevel(), ilPageLayout\setModules(), ilUserUtil\setPersonalStartingPoint(), ilUserUtil\setStartingPoint(), ilProgressBar\setType(), show_form_in_modal(), Monolog\Handler\RotatingFileHandlerTest\testAllowOnlyFixedDefinedDateFormats(), Monolog\Handler\RotatingFileHandlerTest\testDisallowFilenameFormatsWithoutDate(), ilPCSkillsGUI\update(), ilCronManagerGUI\update(), ilObjectActivationGUI\update(), ilBookingObjectGUI\update(), ilADTBasedObjectGUI\updateAction(), ilExPeerReviewGUI\updatePeerReviewObject(), HTMLPurifier_AttrDef_URI_Host\validate(), ilADTGroupFormBridge\validate(), ilRegistrationSettings\validate(), ilCustomUserFieldsGUI\validateForm(), ilExPeerReview\validatePeerReviewGroups(), ilExSubmission\validatePeerReviews(), ilObjPollGUI\vote(), ILIAS\UI\Implementation\Component\Listing\Workflow\Step\withAvailability(), and ILIAS\UI\Implementation\Component\Listing\Workflow\Step\withStatus().

◆ exit

exit

Definition at line 3 of file dummy_client.php.

Referenced by showResult().