ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 74 of file dummy_client.php.

References exit, and nusoap_base\getError().

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

Variable Documentation

◆ $client

◆ $ext_uid

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

Definition at line 26 of file dummy_client.php.

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

◆ $namespace

◆ $new_user

$new_user = $_GET["new_user"]

◆ $server

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

Definition at line 24 of file dummy_client.php.

◆ $soap_pw

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

Definition at line 28 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 59 of file dummy_client.php.

Referenced by ILIAS\Survey\Settings\SettingsFormGUI\checkForm(), ilSamlIdpMetadataInputGUI\checkInput(), ilSelectInputGUI\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(), ilExPeerReview\getAllPeerReviews(), ilLPStatusCollectionMobs\getCollectionItems(), ilECSUserConsentModalGUI\getConsentModalComponents(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentAppraisee(), ILIAS\Survey\Evaluation\EvaluationManager\getCurrentRater(), ilUserStartingPointRepository\getCurrentUserPersonalStartingPoint(), ilObjExerciseSubItemListGUI\getHTML(), ilContainerRenderer\getHTML(), ilTrSummaryTableGUI\getItems(), ilPRGAssignmentDBRepository\getLongestValidAssignment(), 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(), ilADTFloat\isValid(), ilADTInteger\isValid(), ilADTText\isValid(), ilADTMultiText\isValid(), ilADTInternalLink\isValid(), ilADTLocation\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(), ilObjContentObjectGUI\saveProperties(), ilUserStartingPointRepository\setCurrentUserPersonalStartingPoint(), ilTable2GUI\setExportFormats(), ilPageLayout\setModules(), ilProgressBar\setType(), ilSOAPAuth\testConnection(), ilPRGPermissionsHelper\throwForInvalidOperation(), ILIAS\Badge\Tile\tryFormating(), ilPCSkillsGUI\update(), ilBookingObjectGUI\update(), ilADTBasedObjectGUI\updateAction(), ilCustomUserFieldsGUI\updateFields(), ilCronManagerGUI\updateLegacy(), 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 21 of file dummy_client.php.

Referenced by showResult().