33require_once(
'./libs/composer/vendor/autoload.php');
47include_once
'./webservice/soap/lib/nusoap.php';
48include_once
'./webservice/soap/include/inc.soap_functions.php';
49require_once(
'./Services/WebServices/SOAP/classes/class.ilSoapHook.php');
50require_once(
'./Services/Init/classes/class.ilInitialisation.php');
62 define(
'SERVICE_NAME',
'ILIASSoapWebservice');
63 define(
'SERVICE_NAMESPACE',
'urn:ilUserAdministration');
64 define(
'SERVICE_STYLE',
'rpc');
65 define(
'SERVICE_USE',
'encoded');
67 $this->server->decode_utf8 =
false;
68 $this->server->class =
"ilSoapFunctions";
74 $this->__registerMethods();
79 $postdata = file_get_contents(
"php://input");
80 $this->server->service($postdata);
87 $this->server->configureWSDL(SERVICE_NAME, SERVICE_NAMESPACE);
93 public function __registerMethods()
97 $this->server->wsdl->addComplexType(
104 array(array(
'ref'=>
'SOAP-ENC:arrayType',
'wsdl:arrayType'=>
'xsd:int[]')),
108 $this->server->wsdl->addComplexType(
115 array(array(
'ref'=>
'SOAP-ENC:arrayType',
'wsdl:arrayType'=>
'xsd:string[]')),
119 $this->server->wsdl->addComplexType(
126 array(array(
'ref'=>
'SOAP-ENC:arrayType',
'wsdl:arrayType'=>
'xsd:double[]')),
133 $this->server->register(
135 array(
'client' =>
'xsd:string',
136 'username' =>
'xsd:string',
137 'password' =>
'xsd:string'),
138 array(
'sid' =>
'xsd:string'),
140 SERVICE_NAMESPACE .
'#login',
143 'ILIAS login function'
147 $this->server->register(
149 array(
'client' =>
'xsd:string',
150 'PT' =>
'xsd:string',
151 'user' =>
'xsd:string'),
152 array(
'sid' =>
'xsd:string'),
154 SERVICE_NAMESPACE .
'#loginCAS',
157 'ILIAS login function via CAS'
160 $this->server->register(
162 array(
'client' =>
'xsd:string',
163 'username' =>
'xsd:string',
164 'password' =>
'xsd:string'),
165 array(
'sid' =>
'xsd:string'),
167 SERVICE_NAMESPACE .
'#login',
170 'ILIAS login function via LDAP'
174 $this->server->register(
176 array(
'sid' =>
'xsd:string',
177 'user_id' =>
'xsd:int'),
178 array(
'sid' =>
'xsd:string'),
180 SERVICE_NAMESPACE .
'#loginStudipUser',
183 'ILIAS login function for Stud.IP-Connection. DEPRECATED: this method will be removed in ILIAS 5.3.'
187 $this->server->register(
189 array(
'sid' =>
'xsd:string'),
190 array(
'success' =>
'xsd:boolean'),
192 SERVICE_NAMESPACE .
'#logout',
195 'ILIAS logout function'
198 $this->server->wsdl->addComplexType(
204 array(
'usr_id' => array(
'name' =>
'usr_id',
'type' =>
'xsd:int'),
205 'login' => array(
'name' =>
'login',
'type' =>
'xsd:string'),
206 'passwd' => array(
'name' =>
'passwd',
'type' =>
'xsd:string'),
207 'firstname' => array(
'name' =>
'firstname',
'type' =>
'xsd:string'),
208 'lastname' => array(
'name' =>
'lastname',
'type' =>
'xsd:string'),
209 'title' => array(
'name' =>
'title',
'type' =>
'xsd:string'),
210 'gender' => array(
'name' =>
'gender',
'type' =>
'xsd:string'),
211 'email' => array(
'name' =>
'email',
'type' =>
'xsd:string'),
212 'second_email' => array(
'name' =>
'second_email',
'type' =>
'xsd:string'),
213 'institution' => array(
'name' =>
'institution',
'type' =>
'xsd:string'),
214 'street' => array(
'name' =>
'street',
'type' =>
'xsd:string'),
215 'city' => array(
'name' =>
'city',
'type' =>
'xsd:string'),
216 'zipcode' => array(
'name' =>
'zipcode',
'type' =>
'xsd:string'),
217 'country' => array(
'name' =>
'country',
'type' =>
'xsd:string'),
218 'phone_office' => array(
'name' =>
'phone_office',
'type' =>
'xsd:string'),
219 'last_login' => array(
'name' =>
'last_login',
'type' =>
'xsd:string'),
220 'last_update' => array(
'name' =>
'last_update',
'type' =>
'xsd:string'),
221 'create_date' => array(
'name' =>
'create_date',
'type' =>
'xsd:string'),
222 'hobby' => array(
'name' =>
'hobby',
'type' =>
'xsd:string'),
223 'department' => array(
'name' =>
'department',
'type' =>
'xsd:string'),
224 'phone_home' => array(
'name' =>
'phone_home',
'type' =>
'xsd:string'),
225 'phone_mobile' => array(
'name' =>
'phone_mobile',
'type' =>
'xsd:string'),
226 'fax' => array(
'name' =>
'fax',
'type' =>
'xsd:string'),
227 'time_limit_owner' => array(
'name' =>
'time_limit_owner',
'type' =>
'xsd:int'),
228 'time_limit_unlimited' => array(
'name' =>
'time_limit_unlimited',
'type' =>
'xsd:int'),
229 'time_limit_from' => array(
'name' =>
'time_limit_from',
'type' =>
'xsd:int'),
230 'time_limit_until' => array(
'name' =>
'time_limit_until',
'type' =>
'xsd:int'),
231 'time_limit_message' => array(
'name' =>
'time_limit_message',
'type' =>
'xsd:int'),
232 'referral_comment' => array(
'name' =>
'referral_comment',
'type' =>
'xsd:string'),
233 'matriculation' => array(
'name' =>
'matriculation',
'type' =>
'xsd:string'),
234 'active' => array(
'name' =>
'active',
'type' =>
'xsd:int'),
235 'accepted_agreement' => array(
'name' =>
'accepted_agreement',
'type' =>
'xsd:boolean'),
236 'approve_date' => array(
'name' =>
'approve_date',
'type' =>
'xsd:string'),
237 'user_skin' => array(
'name' =>
'user_skin',
'type' =>
'xsd:string'),
238 'user_style' => array(
'name' =>
'user_style',
'type' =>
'xsd:string'),
239 'user_language' => array(
'name' =>
'user_language',
'type' =>
'xsd:string'),
240 'import_id' => array(
'name' =>
'import_id',
'type' =>
'xsd:string')
246 $this->server->register(
248 array(
'sid' =>
'xsd:string',
249 'user_name' =>
'xsd:string'),
250 array(
'usr_id' =>
'xsd:int'),
252 SERVICE_NAMESPACE .
'#lookupUser',
255 'ILIAS lookupUser(): check if username exists. Return usr_id or 0 if lookup fails.'
260 $this->server->register(
262 array(
'sid' =>
'xsd:string',
263 'user_id' =>
'xsd:int'),
264 array(
'user_data' =>
'tns:ilUserData'),
266 SERVICE_NAMESPACE .
'#getUser',
269 'ILIAS getUser(): get complete set of user data. DEPRECATED with release 5.2, will be deleted with 5.3. Use searchUsers() instead.'
273 $this->server->register(
275 array(
'sid' =>
'xsd:string',
276 'user_id' =>
'xsd:int'),
277 array(
'success' =>
'xsd:boolean'),
279 SERVICE_NAMESPACE .
'#deleteUser',
282 'ILIAS deleteUser(). Deletes all user related data (Bookmarks, Mails ...). DEPRECATED: Use importUsers() for deletion of user data.'
286 $this->server->register(
288 array(
'sid' =>
'xsd:string',
289 'target_id' =>
'xsd:int',
290 'crs_xml' =>
'xsd:string'),
291 array(
'course_id' =>
'xsd:int'),
293 SERVICE_NAMESPACE .
'#addCourse',
296 'ILIAS addCourse(). Course import. See ilias_course_0_1.dtd for details about course xml structure'
300 $this->server->register(
302 array(
'sid' =>
'xsd:string',
303 'course_id' =>
'xsd:int'),
304 array(
'success' =>
'xsd:boolean'),
306 SERVICE_NAMESPACE .
'#deleteCourse',
309 'ILIAS deleteCourse(). Deletes a course. Delete courses are stored in "Trash" and can be undeleted in ' .
310 ' the ILIAS administration. '
313 $this->server->register(
314 AsyncTaskManager::CMD_START_WORKER,
315 array(
'sid' =>
'xsd:string'),
316 array(
'success' =>
'xsd:boolean'),
318 SERVICE_NAMESPACE .
'#' . AsyncTaskManager::CMD_START_WORKER,
321 'ILIAS ' . AsyncTaskManager::CMD_START_WORKER .
'().'
325 $this->server->register(
326 'assignCourseMember',
327 array(
'sid' =>
'xsd:string',
328 'course_id' =>
'xsd:int',
329 'user_id' =>
'xsd:int',
330 'type' =>
'xsd:string'),
331 array(
'success' =>
'xsd:boolean'),
333 SERVICE_NAMESPACE .
'#assignCourseMember',
336 'ILIAS assignCourseMember(). Assigns an user to an existing course. Type should be "Admin", "Tutor" or "Member"'
340 $this->server->register(
341 'excludeCourseMember',
342 array(
'sid' =>
'xsd:string',
343 'course_id' =>
'xsd:int',
344 'user_id' =>
'xsd:int'),
345 array(
'success' =>
'xsd:boolean'),
347 SERVICE_NAMESPACE .
'#excludeCourseMember',
350 'ILIAS excludeCourseMember(). Excludes an user from an existing course.'
354 $this->server->register(
355 'isAssignedToCourse',
356 array(
'sid' =>
'xsd:string',
357 'course_id' =>
'xsd:int',
358 'user_id' =>
'xsd:int'),
359 array(
'role' =>
'xsd:int'),
361 SERVICE_NAMESPACE .
'#isAssignedToCourse',
364 'ILIAS isAssignedToCourse(). Checks whether an user is assigned to a given course. ' .
365 'Returns 0 => not assigned, 1 => course admin, 2 => course member or 3 => course tutor'
369 $this->server->register(
371 array(
'sid' =>
'xsd:string',
372 'course_id' =>
'xsd:int'),
373 array(
'xml' =>
'xsd:string'),
375 SERVICE_NAMESPACE .
'#getCourseXML',
378 'ILIAS getCourseXML(). Get a xml description of a specific course.'
382 $this->server->register(
384 array(
'sid' =>
'xsd:string',
385 'course_id' =>
'xsd:int',
386 'xml' =>
'xsd:string'),
387 array(
'success' =>
'xsd:boolean'),
389 SERVICE_NAMESPACE .
'#updateCourse',
392 'ILIAS updateCourse(). Update course settings, assigned members, tutors, administrators with a ' .
393 'given xml description'
397 $this->server->register(
398 'getObjIdByImportId',
399 array(
'sid' =>
'xsd:string',
400 'import_id' =>
'xsd:string'),
401 array(
'obj_id' =>
'xsd:int'),
403 SERVICE_NAMESPACE .
'#getCourseIdByImportId',
406 'ILIAS getObjIdByImportId(). Get the obj_id of an ILIAS obj by a given import id.'
411 $this->server->register(
412 'getRefIdsByImportId',
413 array(
'sid' =>
'xsd:string',
414 'import_id' =>
'xsd:string'),
415 array(
'ref_ids' =>
'tns:intArray'),
417 SERVICE_NAMESPACE .
'#getRefIdsByImportId',
420 'ILIAS getRefIdsByImportId(). Get all reference ids by a given import id.'
424 $this->server->register(
426 array(
'sid' =>
'xsd:string',
427 'obj_id' =>
'xsd:string'),
428 array(
'ref_ids' =>
'tns:intArray'),
430 SERVICE_NAMESPACE .
'#getRefIdsByObjId',
433 'ILIAS getRefIdsByObjId(). Get all reference ids by a given object id.'
437 $this->server->register(
438 'getObjectByReference',
439 array(
'sid' =>
'xsd:string',
440 'reference_id' =>
'xsd:int',
441 'user_id' =>
'xsd:int'),
442 array(
'object_xml' =>
'xsd:string'),
444 SERVICE_NAMESPACE .
'#getObjectByReference',
447 'ILIAS getObjectByReference(). Get XML-description of an ILIAS object. If a user id is given, ' .
448 'this methods also checks the permissions of that user on the object.'
451 $this->server->register(
453 array(
'sid' =>
'xsd:string',
454 'title' =>
'xsd:string',
455 'user_id' =>
'xsd:int'),
456 array(
'object_xml' =>
'xsd:string'),
458 SERVICE_NAMESPACE .
'#getObjectsByTitle',
461 'ILIAS getObjectsByTitle(). Get XML-description of an ILIAS object with given title. ' .
462 'If a user id is given this method also checks the permissions of that user on the object.'
465 $this->server->register(
467 array(
'sid' =>
'xsd:string',
468 'types' =>
'tns:stringArray',
469 'key' =>
'xsd:string',
470 'combination' =>
'xsd:string',
471 'user_id' =>
'xsd:int'),
472 array(
'object_xml' =>
'xsd:string'),
474 SERVICE_NAMESPACE .
'#searchObjects',
477 'ILIAS searchObjects(): Searches for objects. Key is within "title" or "description" ' .
478 'Typical calls are searchObject($sid,array("lm","crs"),"\"this and that\"","and"); ' .
479 ' If an optional user id is given, this methods also return the permissions for that user ' .
480 'on the found objects'
483 $this->server->register(
485 array(
'sid' =>
'xsd:string',
486 'ref_id' =>
'xsd:int',
487 'types' =>
'tns:stringArray',
488 'user_id' =>
'xsd:int'),
489 array(
'object_xml' =>
'xsd:string'),
491 SERVICE_NAMESPACE .
'#getTreeChilds',
494 'ILIAS getTreeChilds(): Get all child objects of a given object.' .
495 'Choose array of types to filter the output. Choose empty type array to receive all object types'
498 $this->server->register(
500 array(
'sid' =>
'xsd:string',
501 'ref_id' =>
'xsd:int',
502 'types' =>
'tns:stringArray',
503 'user_id' =>
'xsd:int'),
504 array(
'object_xml' =>
'xsd:string'),
506 SERVICE_NAMESPACE .
'#getXMLTree',
509 'ILIAS getXMLTree(): Returns a xml stream with the subtree objects.'
514 $this->server->register(
516 array(
'sid' =>
'xsd:string',
517 'target_id' =>
'xsd:int',
518 'object_xml' =>
'xsd:string'),
519 array(
'ref_id' =>
'xsd:int'),
521 SERVICE_NAMESPACE .
'#addObject',
524 'ILIAS addObject. Create new object based on xml description under a given node ' .
525 '("category,course,group or folder). Return created reference id of the new object.'
528 $this->server->register(
530 array(
'sid' =>
'xsd:string',
531 'object_xml' =>
'xsd:string'),
532 array(
'success' =>
'xsd:boolean'),
534 SERVICE_NAMESPACE .
'#updateObjects',
537 'ILIAS updateObjects. Update object data (title,description,owner)'
540 $this->server->register(
542 array(
'sid' =>
'xsd:string',
543 'source_id' =>
'xsd:int',
544 'target_id' =>
'xsd:int'),
545 array(
'ref_id' =>
'xsd:int'),
547 SERVICE_NAMESPACE .
'#addReference',
550 'ILIAS addReference. Create new link of given object to new object. Return the new reference id'
553 $this->server->register(
555 array(
'sid' =>
'xsd:string',
556 'reference_id' =>
'xsd:int'),
557 array(
'success' =>
'xsd:boolean'),
559 SERVICE_NAMESPACE .
'#deleteObject',
562 'ILIAS deleteObject. Stores object in trash. If multiple references exist, only the reference is deleted '
566 $this->server->register(
567 'removeFromSystemByImportId',
568 array(
'sid' =>
'xsd:string',
569 'import_id' =>
'xsd:string'),
570 array(
'success' =>
'xsd:boolean'),
572 SERVICE_NAMESPACE .
'#removeFromSystemByImportId',
575 'ILIAS removeFromSystemByImportId(). Removes an object identified by its import id permanently from the ' .
576 'system. All data will be deleted. There will be no possibility to restore it from the trash. Do not use ' .
577 'this function for deleting roles or users. Use deleteUser() or deleteRole() instead.'
580 $this->server->register(
582 array(
'sid' =>
'xsd:string',
583 'user_id' =>
'xsd:int',
584 'role_id' =>
'xsd:int'),
585 array(
'success' =>
'xsd:boolean'),
587 SERVICE_NAMESPACE .
'#addUserRoleEntry',
590 'ILIAS addUserRoleEntry. Assign user to role.'
593 $this->server->register(
594 'deleteUserRoleEntry',
595 array(
'sid' =>
'xsd:string',
596 'user_id' =>
'xsd:int',
597 'role_id' =>
'xsd:int'),
598 array(
'success' =>
'xsd:boolean'),
600 SERVICE_NAMESPACE .
'#deleteUserRoleEntry',
603 'ILIAS deleteUserRoleEntry. Deassign user from role.'
608 $this->server->wsdl->addComplexType(
614 array(
'ops_id' => array(
'name' =>
'ops_id',
615 'type' =>
'xsd:int'),
616 'operation' => array(
'name' =>
'operation',
617 'type' =>
'xsd:string'),
618 'description' => array(
'name' =>
'description',
619 'type' =>
'xsd:string'))
622 $this->server->wsdl->addComplexType(
629 array(array(
'ref' =>
'SOAP-ENC:arrayType',
630 'wsdl:arrayType' =>
'tns:ilOperation[]')),
633 $this->server->register(
635 array(
'sid' =>
'xsd:string'),
636 array(
'operations' =>
'tns:ilOperations'),
638 SERVICE_NAMESPACE .
'#getOperations',
641 'ILIAS getOperations(): get complete set of RBAC operations.'
644 $this->server->register(
646 array(
'sid' =>
'xsd:string',
647 'ref_id' =>
'xsd:int',
648 'role_id' =>
'xsd:int'),
649 array(
'success' =>
'xsd:boolean'),
651 SERVICE_NAMESPACE .
'#revokePermissions',
654 'ILIAS revokePermissions(): Revoke all permissions for a specific role on an object.'
657 $this->server->wsdl->addComplexType(
664 array(array(
'ref' =>
'SOAP-ENC:arrayType',
665 'wsdl:arrayType' =>
'xsd:int[]')),
669 $this->server->register(
671 array(
'sid' =>
'xsd:string',
672 'ref_id' =>
'xsd:int',
673 'role_id' =>
'xsd:int',
674 'operations' =>
'tns:intArray'),
675 array(
'success' =>
'xsd:boolean'),
677 SERVICE_NAMESPACE .
'#grantPermissions',
680 'ILIAS grantPermissions(): Grant permissions for a specific role on an object. ' .
681 '(Substitutes existing permission settings)'
684 $this->server->register(
686 array(
'sid' =>
'xsd:string',
687 'ref_id' =>
'xsd:int'),
688 array(
'role_xml' =>
'xsd:string'),
690 SERVICE_NAMESPACE .
'#getLocalRoles',
693 'ILIAS getLocalRoles(): Get all local roles assigned to an specific object.'
696 $this->server->register(
698 array(
'sid' =>
'xsd:string',
699 'user_id' =>
'xsd:int'),
700 array(
'role_xml' =>
'xsd:string'),
702 SERVICE_NAMESPACE .
'#getLocalRoles',
705 'ILIAS getUserRoles(): Get all local roles assigned to an specific user. '
708 $this->server->register(
710 array(
'sid' =>
'xsd:string',
711 'target_id' =>
'xsd:int',
712 'obj_xml' =>
'xsd:string'),
713 array(
'role_ids' =>
'tns:intArray'),
715 SERVICE_NAMESPACE .
'#addRole',
718 'ILIAS addRole(): Creates new role under given node. "target_id" is the reference id of an ILIAS ' .
719 'ILIAS object. E.g ref_id of crs,grp. If no role folder exists, a new role folder will be created.'
722 $this->server->register(
724 array(
'sid' =>
'xsd:string',
725 'role_id' =>
'xsd:int'),
726 array(
'success' =>
'xsd:boolean'),
728 SERVICE_NAMESPACE .
'#deleteRole',
731 'ILIAS deleteRole(): Deletes an role and all user assignments. Fails if it is the last role of an user'
734 $this->server->register(
735 'addRoleFromTemplate',
736 array(
'sid' =>
'xsd:string',
737 'target_id' =>
'xsd:int',
738 'obj_xml' =>
'xsd:string',
739 'role_template_id' =>
'xsd:int'),
740 array(
'role_ids' =>
'tns:intArray'),
742 SERVICE_NAMESPACE .
'#addRole',
745 'ILIAS addRole(): Creates new role under given node. "target_id" is the reference id of an ILIAS ' .
746 'ILIAS object. E.g ref_id of crs,grp. If no role folder exists, a new role folder will be created. ' .
747 'In addition to addRole the template permissions will be copied from the given role template'
750 $this->server->register(
751 'getObjectTreeOperations',
752 array(
'sid' =>
'xsd:string',
753 'ref_id' =>
'xsd:int',
754 'user_id' =>
'xsd:int'),
755 array(
'operations' =>
'tns:ilOperations'),
757 SERVICE_NAMESPACE .
'#getPermissionsForObject',
760 'ILIAS getObjectTreeOperations(): Get all granted permissions for all references of ' .
761 'an object for a specific user. Returns array of granted operations or empty array'
764 $this->server->register(
766 array(
'sid' =>
'xsd:string',
767 'target_id' =>
'xsd:int',
768 'group_xml' =>
'xsd:string'),
769 array(
'ref_id' =>
'xsd:int'),
771 SERVICE_NAMESPACE .
'#addGroup',
774 'ILIAS addGroup(): Add grop according to valid group XML ' .
775 '@See ilias_group_0_1.dtd'
778 $this->server->register(
780 array(
'sid' =>
'xsd:string',
781 'title' =>
'xsd:string'),
782 array(
'exists' =>
'xsd:boolean'),
784 SERVICE_NAMESPACE .
'#groupExists',
787 'ILIAS addGroup(): Check if group with given name exists. '
792 $this->server->register(
794 array(
'sid' =>
'xsd:string',
795 'ref_id' =>
'xsd:int'),
796 array(
'group_xml' =>
'xsd:string'),
798 SERVICE_NAMESPACE .
'#getGroup',
801 'ILIAS getGroup(): get xml description of grouip with given reference id.'
805 $this->server->register(
807 array(
'sid' =>
'xsd:string',
808 'group_id' =>
'xsd:int',
809 'user_id' =>
'xsd:int',
810 'type' =>
'xsd:string'),
811 array(
'success' =>
'xsd:boolean'),
813 SERVICE_NAMESPACE .
'#assignGroupMember',
816 'ILIAS assignGroupMember(). Assigns an user to an existing group. Type should be "Admin","Member"'
820 $this->server->register(
821 'excludeGroupMember',
822 array(
'sid' =>
'xsd:string',
823 'group_id' =>
'xsd:int',
824 'user_id' =>
'xsd:int'),
825 array(
'success' =>
'xsd:boolean'),
827 SERVICE_NAMESPACE .
'#excludeGroupMember',
830 'ILIAS excludeGroupMember(). Excludes an user from an existing group.'
834 $this->server->register(
836 array(
'sid' =>
'xsd:string',
837 'group_id' =>
'xsd:int',
838 'user_id' =>
'xsd:int'),
839 array(
'role' =>
'xsd:int'),
841 SERVICE_NAMESPACE .
'#isAssignedToGroup',
844 'ILIAS isAssignedToGroup(). Checks whether an user is assigned to a given group. ' .
845 'Returns 0 => not assigned, 1 => group admin, 2 => group member'
851 $this->server->register(
853 array(
'sid' =>
'xsd:string',
854 'mail_xml' =>
'xsd:string'),
855 array(
'status' =>
'xsd:boolean'),
857 SERVICE_NAMESPACE .
'#sendMail',
860 'ILIAS distributeMails(): Distribute ILIAS mails according according to the mail setting of the recipients as ' .
861 'ILIAS internal mail or as e-mail.'
865 $this->server->register(
867 array(
'sid' =>
'xsd:string',
'copy_identifier' =>
'xsd:int'),
868 array(
'new_ref_id' =>
'xsd:int'),
870 SERVICE_NAMESPACE .
'#ilClone',
873 'ILIAS ilClone(): Only for internal usage.' .
874 'Syntax, parameters may change in future releases. '
877 $this->server->register(
879 array(
'sid' =>
'xsd:string',
'server_id' =>
'xsd:int'),
880 array(
'success' =>
'xsd:boolean'),
882 SERVICE_NAMESPACE .
'#handleECSTasks',
885 'ILIAS handleECSTasks(): Only for internal usage.' .
886 'Syntax, parameters may change in future releases. '
889 $this->server->register(
890 'ilCloneDependencies',
891 array(
'sid' =>
'xsd:string',
'copy_identifier' =>
'xsd:int'),
892 array(
'success' =>
'xsd:boolean'),
894 SERVICE_NAMESPACE .
'#ilCloneDependencies',
897 'ILIAS ilCloneDependencies(): Only for internal usage.' .
898 'Syntax, parameters may change in future releases. '
901 $this->server->register(
902 'saveQuestionResult',
903 array(
'sid' =>
'xsd:string',
904 'user_id' =>
'xsd:int',
905 'test_id' =>
'xsd:int',
906 'question_id' =>
'xsd:int',
908 'solution' =>
'tns:stringArray'),
909 array(
'status' =>
'xsd:boolean'),
911 SERVICE_NAMESPACE .
'#saveQuestionResult',
914 'ILIAS saveQuesionResult: Typically called from an external assessment question to save the user input. DEPRECATED since ILIAS 3.9'
917 $this->server->register(
919 array(
'sid' =>
'xsd:string',
920 'active_id' =>
'xsd:long',
921 'question_id' =>
'xsd:long',
923 'solution' =>
'tns:stringArray'),
924 array(
'status' =>
'xsd:boolean'),
926 SERVICE_NAMESPACE .
'#saveQuestion',
929 'ILIAS saveQuestion: Saves the result of a question in a given test pass for the active test user. The active user is identified by the active ID, which assigns a user to a test.'
932 $this->server->register(
933 'saveQuestionSolution',
934 array(
'sid' =>
'xsd:string',
935 'active_id' =>
'xsd:long',
936 'question_id' =>
'xsd:long',
938 'solution' =>
'xsd:string'),
939 array(
'status' =>
'xsd:string'),
941 SERVICE_NAMESPACE .
'#saveQuestionSolution',
944 'ILIAS saveQuestionSolution: Saves the result of a question in a given test pass for the active test user. The active user is identified by the active ID, which assigns a user to a test. The solution has to be an XML string which contains <values><value>VALUE</value><value>VALUE</value><points>POINTS</points>...</values> where the triplet (value,value,points) can repeat n times. The result string is either TRUE or it contains an error message.'
947 $this->server->register(
948 'getQuestionSolution',
949 array(
'sid' =>
'xsd:string',
950 'active_id' =>
'xsd:long',
951 'question_id' =>
'xsd:int',
952 'pass' =>
'xsd:int'),
953 array(
'solution' =>
'tns:stringArray'),
955 SERVICE_NAMESPACE .
'#getQuestionSolution',
958 'ILIAS getQuestionSolution: Typically called from external assessment questions to retrieve the previous input of a user.'
961 $this->server->register(
963 array(
'sid' =>
'xsd:string',
964 'active_id' =>
'xsd:long'),
965 array(
'userdata' =>
'tns:stringArray'),
967 SERVICE_NAMESPACE .
'#getTestUserData',
970 'ILIAS getTestUserData: Typically called from external assessment questions to retrieve data of the active user. The returned string array values are fullname, title, firstname, lastname, login.'
973 $this->server->register(
974 'getPositionOfQuestion',
975 array(
'sid' =>
'xsd:string',
976 'active_id' =>
'xsd:long',
977 'question_id' =>
'xsd:int',
978 'pass' =>
'xsd:int'),
979 array(
'position' =>
'xsd:int'),
981 SERVICE_NAMESPACE .
'#getPositionOfQuestion',
984 'ILIAS getPositionOfQuestion: Returns the position of a given question for a given user in a given test pass.'
987 $this->server->register(
988 'getPreviousReachedPoints',
989 array(
'sid' =>
'xsd:string',
990 'active_id' =>
'xsd:long',
991 'question_id' =>
'xsd:int',
992 'pass' =>
'xsd:int'),
993 array(
'position' =>
'tns:doubleArray'),
995 SERVICE_NAMESPACE .
'#getPreviousReachedPoints',
998 'ILIAS getPreviousReachedPoints: Returns an array of reached points for the previous questions in a given test pass.'
1001 $this->server->register(
1002 'getNrOfQuestionsInPass',
1003 array(
'sid' =>
'xsd:string',
1004 'active_id' =>
'xsd:long',
1005 'pass' =>
'xsd:int'),
1006 array(
'count' =>
'xsd:int'),
1008 SERVICE_NAMESPACE .
'#getNrOfQuestionsInPass',
1011 'ILIAS getNrOfQuestionsInPass: Returns the question count for a given test user in a given pass.'
1014 $this->server->register(
1015 'getStructureObjects',
1016 array(
'sid' =>
'xsd:string',
1017 'ref_id' =>
'xsd:int'),
1018 array(
'xml' =>
'xsd:string'),
1020 SERVICE_NAMESPACE .
'#getStructureObjects',
1023 'ILIAS getStructureObjects: delivers structure of content objects like learning modules (chapters/pages) or glossary (terms)'
1027 $this->server->register(
1029 array(
'sid' =>
'xsd:string',
1030 'folder_id' =>
'xsd:int',
1031 'usr_xml' =>
'xsd:string',
1032 'conflict_rule' =>
'xsd:int',
1033 'send_account_mail' =>
'xsd:int'),
1034 array(
'protocol' =>
'xsd:string'),
1036 SERVICE_NAMESPACE .
'#importUsers',
1039 'ILIAS import users into folder id, which should be ref_id of folder or user folder (-1:System user folder, 0: checks access at user level, otherwise refid): conflict_rule: IL_FAIL_ON_CONFLICT = 1, IL_UPDATE_ON_CONFLICT = 2, IL_IGNORE_ON_CONFLICT = 3. The Return-Value is a protocol with the columns userid, login, action, message, following xmlresultset dtd. Send Account Mail = 0 deactivates sending a mail to each user, 1 activates it'
1042 $this->server->register(
1044 array(
'sid' =>
'xsd:string',
1045 'role_type' =>
'xsd:string',
1046 'id' =>
'xsd:string'),
1047 array(
'role_xml' =>
'xsd:string'),
1049 SERVICE_NAMESPACE .
'#getRoles',
1052 'ILIAS getRoles():if id equals -1, get all roles specified by type (global|local|user|user_login|template or empty), if type is empty all roles with all types are delivered, if id > -1 and role_type <> user or user_login, delivers all roles which belong to a repository object with specified ref_id, if roletype is user a numeric id is interpreted as userid, if roletype is user_login it is interpreted as login,if roletype is template all role templates will be listed'
1055 $this->server->register(
1056 'getUsersForContainer',
1057 array(
'sid' =>
'xsd:string',
1058 'ref_id' =>
'xsd:int',
1059 'attach_roles' =>
'xsd:int',
1060 'active' =>
'xsd:int'),
1061 array(
'user_xml' =>
'xsd:string'),
1063 SERVICE_NAMESPACE .
'#getUsersForContainer',
1066 'ILIAS getUsersForContainer(): get all users of a specific ref_id, which can be crs, group, category or user folder (value: -1). Choose if all roles of a user should be attached (1) or not (0). set active to -1 to get all, 0, to get inactive users only, 1 to get active users only'
1069 $this->server->register(
1071 array(
'sid' =>
'xsd:string',
1072 'role_id' =>
'xsd:int',
1073 'attach_roles' =>
'xsd:int',
1074 'active' =>
'xsd:int'),
1075 array(
'user_xml' =>
'xsd:string'),
1077 SERVICE_NAMESPACE .
'#getUsersForRole',
1080 'ILIAS getUsersForRole(): get all users of a role with specified id, specify attach_roles to 1, to attach all role assignmnents; specify active: 1, to import active only, 0: inactive only, -1: both'
1083 $this->server->register(
1085 array(
'sid' =>
'xsd:string',
1086 'key_fields' =>
'tns:stringArray',
1087 'query_operator' =>
'xsd:string',
1088 'key_values' =>
'tns:stringArray',
1089 'attach_roles' =>
'xsd:int',
1090 'active' =>
'xsd:int'),
1091 array(
'user_xml' =>
'xsd:string'),
1093 SERVICE_NAMESPACE .
'#searchUsers',
1096 'ILIAS searchUser(): get all users, which match a query, consisting of the keyfields, matched with values of the field values, concatenated with the logical query operator. Specify attach_roles to 1, to attach all role assignmnents; specify active: 1, to import active only, 0: inactive only, -1: both'
1101 $this->server->register(
1103 array(
'sid' =>
'xsd:string'),
1104 array(
'status' =>
'xsd:boolean'),
1106 SERVICE_NAMESPACE .
'#hasNewMail',
1109 'ILIAS hasNewMail(): Checks whether the current authenticated user has a new mail.'
1112 $this->server->register(
1114 array(
'sid' =>
'xsd:string'),
1115 array(
'xmlresultset' =>
'xsd:string'),
1117 SERVICE_NAMESPACE .
'#getNIC',
1120 'ILIAS getNIC(): DEPRECATED: use getClientInfoXML instead. was: return client information from current client as xml result set containing installation_id, installation_version, installation_url, installation_description, installation_language_default as columns'
1123 $this->server->register(
1125 array(
'sid' =>
'xsd:string',
"ref_id" =>
'xsd:int',
"attachment_mode" =>
"xsd:int"),
1126 array(
'exercisexml' =>
'xsd:string'),
1128 SERVICE_NAMESPACE .
'#getExerciseXML',
1131 'ILIAS getExerciseXML(): returns xml description of exercise. Attachment mode: 0 - no file contents, 1 - plain content (base64encoded), 2 zlib + base64, 3 gzip + base64)'
1134 $this->server->register(
1136 array(
'sid' =>
'xsd:string',
"target_id" =>
'xsd:int',
"xml" =>
"xsd:string"),
1137 array(
'refid' =>
'xsd:int'),
1139 SERVICE_NAMESPACE .
'#addExercise',
1142 'ILIAS addExercise(): create exercise, put it into target (ref_id) and update exercise properties from xml (see ilias_exercise_3_8.dtd for details). Obj_id must not be set!'
1145 $this->server->register(
1147 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1148 array(
'success' =>
'xsd:boolean'),
1150 SERVICE_NAMESPACE .
'#updateExercise',
1153 'ILIAS updateExercise():update existing exercise, update exercise properties from xml (see ilias_exercise_3_8.dtd for details). obj_id in xml must match according obj id of refid.!'
1156 $this->server->register(
1158 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'attachment_mode' =>
'xsd:int'),
1159 array(
'filexml' =>
'xsd:string'),
1161 SERVICE_NAMESPACE .
'#getFileXML',
1164 'ILIAS getFileXML(): returns xml description of file. Attachment mode: 0 - no file contents, 1 - plain content (base64encoded), 2 zlib + base64, 3 gzip + base64)'
1167 $this->server->register(
1169 array(
'sid' =>
'xsd:string',
'target_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1170 array(
'refid' =>
'xsd:int'),
1172 SERVICE_NAMESPACE .
'#addFile',
1175 'ILIAS addFile(): create file, put it into target (ref_id) and update file properties from xml (see ilias_file_3_8.dtd for details). Obj_id must not be set!'
1178 $this->server->register(
1180 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1181 array(
'success' =>
'xsd:boolean'),
1183 SERVICE_NAMESPACE .
'#updateFile',
1186 'ILIAS updateFile():update existing file, update file properties from xml (see ilias_file_3_8.dtd for details). obj_id in xml must match according obj id of refid.!'
1190 $this->server->register(
1192 array(
'sid' =>
'xsd:string',
'user_ids' =>
'tns:intArray',
'attach_roles' =>
'xsd:int'),
1193 array(
'xml' =>
'xsd:string'),
1195 SERVICE_NAMESPACE .
'#resolveUsers',
1198 'ILIAS getUserXML(): get xml records for user ids, e.g. retrieved vom members of course xml. Returns user xml dtds. ids are numeric ids of user'
1203 $this->server->register(
1204 'getObjIdsByRefIds',
1205 array(
'sid' =>
'xsd:string',
1206 'ref_ids' =>
'tns:intArray'),
1207 array(
'obj_ids' =>
'tns:intArray'),
1209 SERVICE_NAMESPACE .
'#getRefIdsByImportId',
1212 'ILIAS getObjIdsForRefIds: Returns a array of object ids which match the references id, given by a comma seperated string. Returns an array of ref ids, in the same order as object ids. Therefore, there might by duplicates'
1215 $this->server->register(
1217 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1218 array(
'success' =>
'xsd:boolean'),
1220 SERVICE_NAMESPACE .
'#updateGroup',
1223 'ILIAS updateGroup(): update existing group using ref id and group xml (see DTD).'
1228 $this->server->register(
1229 'getIMSManifestXML',
1230 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int'),
1231 array(
'xml' =>
'xsd:string'),
1233 SERVICE_NAMESPACE .
'#getIMSManifestXML',
1236 'ILIAS getIMSManifestXML(): returns xml of ims manifest file (scorm learning module) referred by refid'
1239 $this->server->register(
1240 'hasSCORMCertificate',
1241 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'usr_id' =>
'xsd:int'),
1242 array(
'success' =>
'xsd:boolean'),
1244 SERVICE_NAMESPACE .
'#hasSCORMCertificate',
1247 'ILIAS hasSCORMCertificate(): returns true if a certficate is available for a user referred by usr_id in a SCORM learning module referred by ref_id'
1250 $this->server->register(
1251 'getSCORMCompletionStatus',
1252 array(
'sid' =>
'xsd:string',
'usr_id' =>
'xsd:int',
'ref_id' =>
'xsd:int'),
1253 array(
'status' =>
'xsd:string'),
1255 SERVICE_NAMESPACE .
'#getSCORMCompletionStatus',
1258 'ILIAS getSCORMCompletionStatus(): returns a completion status of a scorm module'
1261 $this->server->register(
1263 array(
'sid' =>
'xsd:string',
'xml' =>
'xsd:string'),
1264 array(
'xml' =>
'xsd:int'),
1266 SERVICE_NAMESPACE .
'#copyObject',
1269 'ILIAS copyObject(): returns reference of copy, if copy is created directly, or the ref id of the target if copy is in progress.'
1272 $this->server->register(
1274 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'target_id' =>
'xsd:int'),
1275 array(
'result' =>
'xsd:boolean'),
1277 SERVICE_NAMESPACE .
'#moveObject',
1280 'ILIAS moveObject(): returns true, if object with refid could be successfully moved to target id, other it raises an error.'
1284 $this->server->register(
1286 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'sum_only' =>
'xsd:boolean'),
1287 array(
'xml' =>
'xsd:string'),
1289 SERVICE_NAMESPACE .
'#getTestResults',
1292 'ILIAS getTestResults(): returns XMLResultSet with
1293 sum only = true: user_id, login, firstname, lastname, matriculation, maximum points, received points
1294 sum only = false: user_id, login, firstname, lastname, matriculation, question id, question title, question points, received points'
1297 $this->server->register(
1298 'removeTestResults',
1300 'sid' =>
'xsd:string',
1301 'ref_id' =>
'xsd:int',
1302 'user_ids' =>
'tns:intArray'),
1303 array(
'success' =>
'xsd:boolean'),
1305 SERVICE_NAMESPACE .
'#removeTestResults',
1308 'ILIAS removeTestResults(): remove test results for the chosen users'
1311 $this->server->register(
1312 'getCoursesForUser',
1313 array(
'sid' =>
'xsd:string',
'parameters' =>
'xsd:string'),
1314 array(
'xml' =>
'xsd:string'),
1316 SERVICE_NAMESPACE .
'#getCoursesForUser',
1319 'ILIAS getTestResults(): returns XMLResultSet with columns ref_id, course xml. $parameters has to contain a column user_id and a column status. Status is a logical AND combined value of (MEMBER = 1, TUTOR = 2, ADMIN = 4, OWNER = 8) and determines which courses should be returned.'
1322 $this->server->register(
1324 array(
'sid' =>
'xsd:string',
'parameters' =>
'xsd:string'),
1325 array(
'xml' =>
'xsd:string'),
1327 SERVICE_NAMESPACE .
'#getGroupsForUser',
1330 'ILIAS getTestResults(): returns XMLResultSet with columns ref_id, group xml. $parameters has to contain a column user_id and a column status. Status is a logical AND combined value of (MEMBER = 1, TUTOR = 2, OWNER = 4) and determines which groups should be returned.'
1333 $this->server->register(
1335 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int'),
1336 array(
'xml' =>
'xsd:string'),
1338 SERVICE_NAMESPACE .
'#getPathForRefId',
1341 'ILIAS getPathForRefId(): returns XMLResultSet with columns ref_id, type and title.'
1344 $this->server->register(
1346 array(
'sid' =>
'xsd:string',
'key' =>
'xsd:string',
'combination' =>
'xsd:string',
'role_type' =>
'xsd:string'),
1347 array(
'xml' =>
'xsd:string'),
1349 SERVICE_NAMESPACE .
'#searchRoles',
1352 'ILIAS searchRoles(): returns XML following role dtd with search results for given role type and search terms.'
1355 $this->server->register(
1356 'getInstallationInfoXML',
1358 array(
'xml' =>
'xsd:string'),
1360 SERVICE_NAMESPACE .
'#getInstallationInfoXML',
1363 'ILIAS getInstallationInfoXML(): returns XML following installation_info dtd'
1366 $this->server->register(
1368 array(
'clientid' =>
'xsd:string'),
1369 array(
'xml' =>
'xsd:string'),
1371 SERVICE_NAMESPACE .
'#getClientInfoXML',
1374 'ILIAS getClientInfoXML(): returns XML following installation_info dtd, contains the client the data of given client id'
1377 $this->server->register(
1378 'getSkillCompletionDateForTriggerRefId',
1379 array(
'sid' =>
'xsd:string',
1380 'user_id' =>
'xsd:string',
1381 'ref_id' =>
'xsd:string'),
1382 array(
'dates' =>
'xsd:string'),
1384 SERVICE_NAMESPACE .
'#getSkillCompletionDateForTriggerRefId',
1387 'ILIAS getSkillCompletionDateForTriggerRefId(). Get completion dates for skill trigger ref ids.'
1390 $this->server->register(
1391 'checkSkillUserCertificateForTriggerRefId',
1392 array(
'sid' =>
'xsd:string',
1393 'user_id' =>
'xsd:string',
1394 'ref_id' =>
'xsd:string'),
1395 array(
'have_certificates' =>
'xsd:string'),
1397 SERVICE_NAMESPACE .
'#checkSkillUserCertificateForTriggerRefId',
1400 'ILIAS checkSkillUserCertificateForTriggerRefId(). Check user certificates for trigger ref ids.'
1403 $this->server->register(
1404 'getSkillTriggerOfAllCertificates',
1405 array(
'sid' =>
'xsd:string',
1406 'user_id' =>
'xsd:string'),
1407 array(
'certificate_triggers' =>
'xsd:string'),
1409 SERVICE_NAMESPACE .
'#getSkillTriggerOfAllCertificates',
1412 'ILIAS getSkillTriggerOfAllCertificates(). Check get all trigger with certificate for a user.'
1415 $this->server->register(
1417 array(
'sid' =>
'xsd:string'),
1418 array(
'usr_id' =>
'xsd:int'),
1420 SERVICE_NAMESPACE .
'#getUserIdBySid',
1423 'ILIAS getUserIdBySid(): returns an ILIAS usr_id for the given sid'
1426 $this->server->register(
1427 'deleteExpiredDualOptInUserObjects',
1428 array(
'sid' =>
'xsd:string',
1429 'usr_id' =>
'xsd:int'),
1430 array(
'status' =>
'xsd:boolean'),
1432 SERVICE_NAMESPACE .
'#deleteExpiredDualOptInUserObjects',
1435 'ILIAS deleteExpiredDualOptInUserObjects(): Deletes expired user accounts caused by unconfirmed registration links in "dual opt in" registration method'
1439 $this->server->register(
1441 array(
'sid' =>
'xsd:string',
"ref_id" =>
'xsd:int'),
1442 array(
'weblinkxml' =>
'xsd:string'),
1444 SERVICE_NAMESPACE .
'#readWebLink',
1447 'ILIAS readWebLink(): returns xml description of a weblink container.'
1450 $this->server->register(
1452 array(
'sid' =>
'xsd:string',
"target_id" =>
'xsd:int',
"xml" =>
"xsd:string"),
1453 array(
'refid' =>
'xsd:int'),
1455 SERVICE_NAMESPACE .
'#createWebLink',
1458 'ILIAS createWebLink(): create web link container, put it into target (ref_id) and update weblink container from xml (see ilias_weblink_4_0.dtd for details). Obj_id must not be set!'
1461 $this->server->register(
1463 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1464 array(
'success' =>
'xsd:boolean'),
1466 SERVICE_NAMESPACE .
'#updateWebLink',
1469 'ILIAS updateWebLink():update existing weblink, update weblink properties from xml (see ilias_weblink_4_0.dtd for details).'
1473 $this->server->register(
1474 'getLearningProgressChanges',
1475 array(
'sid' =>
'xsd:string',
'timestamp' =>
'xsd:string',
'include_ref_ids' =>
'xsd:boolean',
'type_filter' =>
'tns:stringArray'),
1476 array(
'lp_data' =>
'xsd:string'),
1478 SERVICE_NAMESPACE .
'#getLearningProgressChanges',
1481 'ILIAS getLearningProgressChanges(): Get learning progress changes after a given timestamp.'
1487 $this->server->register(
1490 'sid' =>
'xsd:string',
1491 'ref_ids' =>
'tns:intArray',
1492 'usr_ids' =>
'tns:intArray',
1493 'type_filter' =>
'tns:stringArray',
1494 'progress_filter' =>
'tns:intArray'
1496 array(
'status' =>
'xsd:boolean'),
1498 SERVICE_NAMESPACE .
'#deleteProgress',
1501 'Delete user progress data of objects. '
1505 $this->server->register(
1508 'sid' =>
'xsd:string',
1509 'ref_id' =>
'xsd:int',
1510 'progress_filter' =>
'tns:intArray'
1512 array(
'user_results' =>
'xsd:string'),
1514 SERVICE_NAMESPACE .
'#getProgressInfo',
1517 'Get object learning progress information'
1521 $this->server->register(
1522 'exportDataCollectionContent',
1524 'sid' =>
'xsd:string',
1525 'ref_id' =>
'xsd:int',
1526 'table_id' =>
'xsd:int',
1527 'format' =>
'xsd:string',
1528 'filepath' =>
'xsd:string'
1530 array(
'export_path' =>
'xsd:string'),
1532 SERVICE_NAMESPACE .
'#exportDataCollectionTableContent',
1535 'Generate DataCollectionContent Export'
1538 $this->server->register(
1539 'processBackgroundTask',
1541 'sid' =>
'xsd:string',
1542 'task_id' =>
'xsd:int'
1544 array(
'status' =>
'xsd:boolean'),
1546 SERVICE_NAMESPACE .
'#processBackgroundTask',
1549 'Process task in background'
1552 $this->server->register(
1555 'sid' =>
'xsd:string',
1556 'user_id' =>
'xsd:int',
1557 'reference_ids' =>
'tns:intArray'
1560 'num_added' =>
'xsd:int'
1563 SERVICE_NAMESPACE .
'#addDesktopItems',
1566 'Add desktop items for user'
1569 $this->server->register(
1570 'removeDesktopItems',
1572 'sid' =>
'xsd:string',
1573 'user_id' =>
'xsd:int',
1574 'reference_ids' =>
'tns:intArray'
1577 'num_added' =>
'xsd:int'
1580 SERVICE_NAMESPACE .
'#removeDesktopItems',
1583 'Remove desktop items for user'
1603 foreach (
$f as $function) {
1604 $this->server->register(
1605 $function->getName(),
1606 $function->getInputParams(),
1607 $function->getOutputParams(),
1609 SERVICE_NAMESPACE .
'#orgu',
1612 $function->getDocumentation()
1617 if (isset(
$_GET[
'client_id'])) {
1637 $ilPluginAdmin =
$DIC[
'ilPluginAdmin'];
1639 foreach ($soapHook->getWsdlTypes() as
$type) {
1640 $this->server->wsdl->addComplexType(
1642 $type->getTypeClass(),
1643 $type->getPhpType(),
1644 $type->getCompositor(),
1645 $type->getRestrictionBase(),
1646 $type->getElements(),
1647 $type->getAttributes(),
1648 $type->getArrayType()
1651 foreach ($soapHook->getSoapMethods() as $method) {
1652 $this->server->register(
1654 $method->getInputParams(),
1655 $method->getOutputParams(),
1656 $method->getServiceNamespace(),
1657 $method->getServiceNamespace() .
'#' . $method->getName(),
1658 $method->getServiceStyle(),
1659 $method->getServiceUse(),
1660 $method->getDocumentation()
An exception for terminatinating execution or to throw for unit testing.
Class AddUserIdToPositionInOrgUnit.
Class EmployeePositionId.
Class AddUserIdToPositionInOrgUnit.
Class SuperiorPositionId.
Class UserIdsOfPositionAndOrgUnit.
const CONTEXT_SOAP_NO_AUTH
static init($a_type)
Init context by type.
static initILIAS()
ilias initialisation
__construct($a_use_wsdl=true)
handleSoapPlugins()
Register any methods and types of SOAP plugins to the SOAP server.
soap_server allows the user to create a SOAP server that is capable of receiving messages and returni...