ILIAS  trunk Revision v5.2.0beta1-34115-g3a2438be29
dummy_client.php File Reference

Go to the source code of this file.

Functions

 showResult (nusoap_client $client, array $data, string $message)
 

Variables

 exit
 
 $server = $_GET["server"] ?: "http://localhost/Services/SOAPAuth/dummy_server.php"
 
 $ext_uid = $_GET["ext_uid"] ?: "testuser"
 
 $soap_pw = $_GET["soap_pw"] ?: "testpw"
 
 $new_user = $_GET["new_user"]
 
 $client = new nusoap_client($server)
 
if($err=$client->getError()) $namespace = "http://testuri.org"
 
 $valid
 

Function Documentation

◆ showResult()

showResult ( nusoap_client  $client,
array  $data,
string  $message 
)

Definition at line 72 of file dummy_client.php.

References exit, and nusoap_base\getError().

72  : void
73 {
74  if ($client->fault) {
75  echo '<h2>Fault</h2><pre>';
76  print_r($data);
77  echo '</pre>';
78  } else {
79  // Check for errors
80  $err = $client->getError();
81  if ($err) {
82  // Display the error
83  echo '<h2>Error</h2><pre>' . $err . '</pre>';
84  exit;
85  } else {
86  // Display the result
87  echo '<h2>Result ' . $message . '</h2><pre>';
88  print_r($data ?: 'FAILED');
89  echo '</pre>';
90  }
91  }
92 }
getError()
returns error string if present
Definition: nusoap.php:363
exit
$message
Definition: xapiexit.php:32
+ Here is the call graph for this function:

Variable Documentation

◆ $client

◆ $ext_uid

$ext_uid = $_GET["ext_uid"] ?: "testuser"

Definition at line 24 of file dummy_client.php.

Referenced by ilObjAuthSettingsGUI\buildSOAPTestForm(), and isValidSession().

◆ $namespace

◆ $new_user

$new_user = $_GET["new_user"]

Definition at line 28 of file dummy_client.php.

Referenced by ilObjAuthSettingsGUI\buildSOAPTestForm().

◆ $server

$server = $_GET["server"] ?: "http://localhost/Services/SOAPAuth/dummy_server.php"

Definition at line 22 of file dummy_client.php.

Referenced by ilLDAPServer\_getAllServer(), ilAuthUtils\_getMultipleAuthModeOptions(), ilECSObjectSettings\_handleDelete(), ilObjAuthSettingsGUI\authSettingsObject(), ilObjAuthSettingsGUI\buildSOAPForm(), ilLTIConsumerResultService\checkSignature(), ilGlobalCacheMetricsCollectedObjective\collectFrom(), ilECSSettingsGUI\communities(), ILIAS\FileDelivery\FileDeliveryTypes\PHPChunked\deliver(), ILIAS\FileDelivery\Delivery\ResponseBuilder\PHPResponseBuilder\deliverPartial(), ilAuthProviderECS\doAuthentication(), ilECSSettingsGUI\exportMappings(), ilAuthModeDetermination\getAuthModeSequence(), ilRemoteObjectBase\getFullRemoteLink(), ilLDAPServerTest\getLanguageMock(), ilLDAPServer\getServerIds(), ilMathJaxBaseTest\getServerMock(), ilECSServerSettings\getServers(), ilECSObjectSettings\handleContentUpdate(), ilAuthProviderCAS\handleLDAPDataSource(), ilAuthProviderApache\handleLDAPDataSource(), ilECSAppEventListener\handleNewAccountCreation(), ilWebDAVRequestHandler\handleRequest(), ilECSObjectSettings\handleSettings(), ilECSSettingsGUI\importMappings(), ilObjAuthSettingsGUI\initAuthModeDetermination(), ilECSSettingsGUI\initMappingsForm(), ilPageEditorServerAdapterGUI\invokeServer(), ilIIMEditorServerAdapterGUI\invokeServer(), ilLDAPRoleAssignmentRule\isGroupMember(), ilECSServerTableGUI\parse(), ilECSParticipantSettingsGUI\parseAvailableAuthModes(), ilAuthModeDetermination\read(), ilECSSettingsGUI\readAll(), ilLDAPRoleGroupMapping\readDN(), ilECSSettingsGUI\refreshParticipants(), ilMathJax\renderMathJax(), ilCronEcsTaskScheduler\run(), ilAuthProviderECS\setCurrentServer(), ilPlainTextHandler\shortenPHPSessionId(), ilLoggingErrorFileStorage\shortenPHPSessionId(), ilPlainTextHandler\tables(), ilLoggingErrorFileStorage\tables(), ilECSSettingsGUI\updateCommunities(), ilECSSettingsGUI\validateImportTypes(), and ILIAS\LTI\ToolProvider\verifySignature().

◆ $soap_pw

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

Definition at line 26 of file dummy_client.php.

Referenced by ilObjAuthSettingsGUI\buildSOAPTestForm().

◆ $valid

$valid
Initial value:
= $client->call(
'isValidSession',
[
'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 57 of file dummy_client.php.

Referenced by ilObjFileBasedLMGUI\afterSave(), ILIAS\Survey\Settings\SettingsFormGUI\checkForm(), ilSamlIdpMetadataInputGUI\checkInput(), ilSelectInputGUI\checkInput(), ilOrgUnitMultiLineInputGUI\checkInput(), ilTagInputGUI\checkInput(), ilDclGenericMultiInputGUI\checkInput(), ilDateDurationInputGUI\checkInput(), ilObjLinkResourceGUI\checkLinkInput(), ilLPStatus\checkLPModesForObjects(), ilClaimingPermissionHelper\checkPlugins(), ilDclNumberFieldModel\checkValidity(), ilConditionHandler\cloneDependencies(), ilObjPortfolioBase\clonePagesAndSettings(), ilPCSkillsGUI\create(), ilPCLearningHistoryGUI\create(), ilRegistrationSettingsGUI\createCodes(), ilExerciseManagementGUI\createTeamsFromGroupsObject(), ilExPeerReviewGUI\executeCommand(), ilExPeerReview\getAllPeerReviews(), ilLPStatusCollectionMobs\getCollectionItems(), ilECSUserConsentModalGUI\getConsentModalComponents(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentRater(), ilUserStartingPointRepository\getCurrentUserPersonalStartingPoint(), ilObjExerciseSubItemListGUI\getHTML(), ilContainerRenderer\getHTML(), ilTrSummaryTableGUI\getItems(), ilUserStartingPointGUI\getStartingPointSelectionInput(), ilTrQuery\getSummaryDataForObject(), ilObjectLP\getSupportedObjectTypes(), ilUserStartingPointRepository\getSystemDefaultStartingPointType(), ilTestSkillLevelThresholdsGUI\getTestId(), ilLOUtils\getTestResultLinkForUser(), ilUserClipboard\getValidatedContent(), ilExerciseManagementGUI\handleIndividualDeadlineCallsObject(), ilAuthProviderSoap\handleSoapAuth(), ilAdvancedMDRecordGUI\importEditFormPostValues(), ILIAS\EmployeeTalk\Metadata\EditForm\importFromPostAndValidate(), ilAdvancedMDRecordGUI\importSearchForm(), ilBadgeManagementGUI\initBadgeForm(), ilObjUserTrackingGUI\initSettingsForm(), ilTaggingClassificationProvider\isActive(), ilObjectLP\isSupportedObjectType(), ilMailMailingListAddressType\isValid(), ilADTText\isValid(), ilADTMultiText\isValid(), ilADTFloat\isValid(), ilADTInteger\isValid(), ilADTLocation\isValid(), ilADTInternalLink\isValid(), ilADTGroup\isValid(), ilADTExternalLink\isValid(), ilClaimingPermissionHelper\isValidContextAndAction(), ilUDFClaimingPlugin\isValidFieldType(), ilMembershipNotifications\isValidMode(), ilAdvancedMDClaimingPlugin\isValidObjType(), ilDBUpdateNewObjectType\isValidRBACOperation(), Mail_RFC822\parseAddressList(), ilExAssignmentEditorGUI\processForm(), ilExAssignmentEditorGUI\processPeerReviewForm(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjCmiXapiVerificationGUI\render(), ilObjLTIConsumerVerificationGUI\render(), ilObjTestVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilContainerRenderer\renderItemBlockSequence(), ilObjLinkResourceGUI\save(), ilBookingObjectGUI\save(), ilDclRecordEditGUI\save(), ilObjPrivacySecurityGUI\save_privacy(), ilObjLinkResourceGUI\saveAddLink(), ilCronDeleteNeverLoggedInUserAccounts\saveCustomSettings(), ilCronDeleteInactiveUserAccounts\saveCustomSettings(), ilObjUserFolderGUI\saveGeneralSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjLinkResourceGUI\saveLinkList(), ilObjUserFolderGUI\saveLoginnameSettingsObject(), ilObjContentObjectGUI\saveProperties(), ilObjLinkResourceGUI\saveSettings(), ilUserStartingPointRepository\setCurrentUserPersonalStartingPoint(), ilTable2GUI\setExportFormats(), ilPageLayout\setModules(), ilProgressBar\setType(), ilSOAPAuth\testConnection(), ilPRGPermissionsHelper\throwForInvalidOperation(), ILIAS\Badge\Tile\tryFormating(), ilPCSkillsGUI\update(), ilCronManagerGUI\update(), ilBookingObjectGUI\update(), ilADTBasedObjectGUI\updateAction(), ilCustomUserFieldsGUI\updateFields(), ilObjLinkResourceGUI\updateLink(), ilExPeerReview\updatePeerReview(), ilExPeerReviewGUI\updatePeerReviewObject(), ilADTGroupFormBridge\validate(), ilRegistrationSettings\validate(), ilObjPollGUI\validateCustom(), 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 19 of file dummy_client.php.

Referenced by showResult().