ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 63 of file dummy_client.php.

64{
65 if($client->fault) {
66 echo '<h2>Fault</h2><pre>';
67 print_r($data);
68 echo '</pre>';
69 }
70 else
71 {
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}
exit
Definition: dummy_client.php:3
$client
$data

References $client, $data, and exit.

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

◆ $server

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

Definition at line 12 of file dummy_client.php.

Referenced by ilLDAPServer\_getAllServer(), ilAuthUtils\_getMultipleAuthModeOptions(), ilECSObjectSettings\_handleDelete(), ilECSAppEventListener\_sendNotification(), ilMemcacheServerTableGUI\addActionMenu(), Auth_Container_RADIUS\Auth_Container_RADIUS(), Auth_OpenID_CheckIDRequest\Auth_OpenID_CheckIDRequest(), Auth_OpenID_Decoder\Auth_OpenID_Decoder(), ilObjAuthSettingsGUI\authSettingsObject(), ilECSSettingsGUI\communities(), ilLDAPCronSynchronization\deactivateUsers(), ilObjAuthSettingsGUI\editSOAPObject(), ilECSSettingsGUI\exportMappings(), ilAuthContainerECS\fetchData(), Auth_Container_KADM5\fetchData(), Auth_OpenID_CheckIDRequest\fromMessage(), ilMemcache\getActive(), ilECSEventQueueReader\getAllResourceIds(), ilAuthModeDetermination\getAuthModeSequence(), ilAuthUtils\getAuthModeTranslation(), ilRemoteObjectBase\getFullRemoteLink(), ilLDAPServer\getServerIds(), ilECSObjectSettings\handleContentUpdate(), ilECSEventQueueReader\handleExportReset(), ilECSEventQueueReader\handleImportReset(), ilAuthContainerCAS\handleLDAPDataSource(), ilAuthContainerRadius\handleLDAPDataSource(), ilAuthContainerApache\handleLDAPDataSource(), ilECSObjectSettings\handlePermissionUpdate(), ilECSObjectSettings\handleSettingsUpdate(), ilECSSettingsGUI\importMappings(), ilObjAuthSettingsGUI\initAuthModeDetermination(), ilECSSettingsGUI\initMappingsForm(), ilLDAPRoleAssignmentRule\isGroupMember(), ilLDAPRoleGroupMapping\isMember(), Auth_OpenID_CheckIDRequest\make(), ilECSServerTableGUI\parse(), PGTStorageDB\PGTStorageDB(), ilAuthModeDetermination\read(), ilECSSettingsGUI\readAll(), ilLDAPRoleGroupMapping\readDN(), ilECSSettingsGUI\refreshParticipants(), ilRadiusSettings\save(), ilAuthContainerECS\setCurrentServer(), ilECSTaskScheduler\start(), ilECSTaskScheduler\startExecution(), Monolog\Processor\WebProcessorTest\testProcessor(), Monolog\Processor\WebProcessorTest\testProcessorAddsOnlyRequestedExtraFields(), Monolog\Processor\WebProcessorTest\testProcessorDoesNotAddUniqueIdIfNotPresent(), Monolog\Processor\WebProcessorTest\testProcessorDoNothingIfNoRequestUri(), Monolog\Processor\WebProcessorTest\testProcessorReturnNullIfNoHttpReferer(), ilRadiusSettings\toPearAuthArray(), ilECSSettingsGUI\updateCommunities(), ilECSSettingsGUI\validateImportTypes(), and ilRadiusSettings\validateServers().

◆ $soap_pw

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

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,
$namespace."/isValidSession")
$soap_pw
$ext_uid
if($err=$client->getError()) $namespace
$new_user

Definition at line 53 of file dummy_client.php.

Referenced by SurveyQuestionGUI\addSelectedPhrase(), Spreadsheet_Excel_Writer_Workbook\addValidator(), ilObjFileBasedLMGUI\afterSave(), ilSelectInputGUI\checkInput(), ilTagInputGUI\checkInput(), ilObjLinkResourceGUI\checkLinkInput(), ilLPStatus\checkLPModesForObjects(), ilClaimingPermissionHelper\checkPlugins(), ilConditionHandler\cloneDependencies(), ilObjPortfolioBase\clonePagesAndSettings(), SurveyQuestionGUI\confirmSavePhrase(), ilPCSkillsGUI\create(), ilRegistrationSettingsGUI\createCodes(), ilAccountCodesGUI\createCodes(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilSurveyEvaluationGUI\determineAppraiseeId(), ilSetupGUI\displaySessions(), ilExPeerReviewGUI\executeCommand(), ilObjFileBasedLMGUI\executeCommand(), ilAuthContainerSOAP\fetchData(), ilExPeerReview\getAllPeerReviews(), ilLPStatusCollectionMobs\getCollectionItems(), ilObjExerciseSubItemListGUI\getHTML(), ilContainerRenderer\getHTML(), ilTrSummaryTableGUI\getItems(), ilAccountCodesTableGUI\getItems(), ilUserUtil\getPersonalStartingPoint(), ilUserUtil\getStartingPoint(), ilTrQuery\getSummaryDataForObject(), ilLOUtils\getTestResultLinkForUser(), ilLinkResourceItems\getValidStatus(), ilWebLinkXmlParser\handlerBeginTag(), ilAdvancedMDRecordGUI\importEditFormPostValues(), ilAdvancedMDRecordGUI\importSearchForm(), ilAccountCodesGUI\initAddCodesForm(), ilObjUserTrackingGUI\initSettingsForm(), ilTaggingClassificationProvider\isActive(), ilObjectLP\isSupportedObjectType(), ilADTDate\isValid(), ilADTDateTime\isValid(), ilADTGroup\isValid(), ilADTInteger\isValid(), ilADTLocation\isValid(), ilADTMultiText\isValid(), ilADTText\isValid(), ilClaimingPermissionHelper\isValidContextAndAction(), TCPDF_STATIC\isValidCSSSelectorForTag(), ilCalendarSchedule\isValidEventByFilters(), ilUDFClaimingPlugin\isValidFieldType(), ilMembershipNotifications\isValidMode(), ilAdvancedMDClaimingPlugin\isValidObjType(), ilDBUpdateNewObjectType\isValidRBACOperation(), ilMDEditorGUI\listEducational(), ilMDEditorGUI\listQuickEdit_scorm(), Structures_BibTex\parse(), Mail_RFC822\parseAddressList(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilObjCourseVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilDataCollectionRecordEditGUI\save(), ilCronDeleteInactiveUserAccounts\saveCustomSettings(), ilObjUserFolderGUI\saveGeneralSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjUserFolderGUI\saveLoginnameSettingsObject(), ilObjContentObjectGUI\saveProperties(), ilObjSurveyGUI\savePropertiesObject(), ilTable2GUI\setExportFormats(), ilPageLayout\setModules(), ilUserUtil\setPersonalStartingPoint(), ilUserUtil\setStartingPoint(), ilProgressBar\setType(), ilStartUpGUI\showUserMappingSelection(), ilBookingObjectGUI\update(), ilPCSkillsGUI\update(), ilCronManagerGUI\update(), ilADTBasedObjectGUI\updateAction(), ilExPeerReviewGUI\updatePeerReviewObject(), HTMLPurifier_AttrDef_URI_Host\validate(), ilADTGroupFormBridge\validate(), ilRegistrationSettings\validate(), ilCustomUserFieldsGUI\validateForm(), ilExPeerReview\validatePeerReviewGroups(), ilExSubmission\validatePeerReviews(), and ilObjPollGUI\vote().

◆ exit

exit

Definition at line 3 of file dummy_client.php.

Referenced by showResult().