ILIAS  Release_4_4_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(), ilSelectInputGUI\checkInput(), ilObjLinkResourceGUI\checkLinkInput(), ilObjPortfolioBase\clonePagesAndSettings(), SurveyQuestionGUI\confirmSavePhrase(), ilPCSkillsGUI\create(), ilAccountCodesGUI\createCodes(), ilRegistrationSettingsGUI\createCodes(), ilSurveyEvaluationGUI\determineAppraiseeId(), ilSetupGUI\displaySessions(), ilFileSystemGUI\downloadFile(), ilAuthContainerSOAP\fetchData(), ilObjExerciseSubItemListGUI\getHTML(), ilAccountCodesTableGUI\getItems(), ilExAssignment\getPeerReviewsByPeerId(), ilUserUtil\getPersonalStartingPoint(), ilUserUtil\getStartingPoint(), ilTrQuery\getSummaryDataForObject(), ilLinkResourceItems\getValidStatus(), ilWebLinkXmlParser\handlerBeginTag(), ilAccountCodesGUI\initAddCodesForm(), ilObjUserTrackingGUI\initSettingsForm(), TCPDF_STATIC\isValidCSSSelectorForTag(), ilCalendarSchedule\isValidEventByFilters(), ilDBUpdateNewObjectType\isValidRBACOperation(), ilMDEditorGUI\listEducational(), ilMDEditorGUI\listQuickEdit_scorm(), Structures_BibTex\parse(), Mail_RFC822\parseAddressList(), ilLPStatus\preloadListGUIData(), ilObjTestVerificationGUI\render(), ilObjCourseVerificationGUI\render(), ilObjExerciseVerificationGUI\render(), ilObjSCORMVerificationGUI\render(), ilObjExerciseGUI\saveAssignmentObject(), ilObjUserFolderGUI\saveGeneralSettingsObject(), ilObjUserFolderGUI\saveGlobalUserSettingsObject(), ilObjUserFolderGUI\saveLoginnameSettingsObject(), ilObjContentObjectGUI\saveProperties(), ilObjSurveyGUI\savePropertiesObject(), ilTable2GUI\setExportFormats(), ilPageLayout\setModules(), ilUserUtil\setPersonalStartingPoint(), ilUserUtil\setStartingPoint(), ilStartUpGUI\showUserMappingSelection(), ilCronManagerGUI\update(), ilPCSkillsGUI\update(), ilObjExerciseGUI\updateAssignmentObject(), HTMLPurifier_AttrDef_URI_Host\validate(), ilRegistrationSettings\validate(), and ilCustomUserFieldsGUI\validateForm().

exit

Definition at line 3 of file dummy_client.php.