33 include_once
'./libs/composer/vendor/autoload.php';
36 include_once
'./webservice/soap/lib/nusoap.php';
37 include_once
'./webservice/soap/include/inc.soap_functions.php';
38 require_once(
'./Services/WebServices/SOAP/classes/class.ilSoapHook.php');
39 require_once(
'./Services/Init/classes/class.ilInitialisation.php');
51 define(
'SERVICE_NAME',
'ILIASSoapWebservice');
52 define(
'SERVICE_NAMESPACE',
'urn:ilUserAdministration');
53 define(
'SERVICE_STYLE',
'rpc');
54 define(
'SERVICE_USE',
'encoded');
55 #global $debug; $debug = true; 57 $this->server->decode_utf8 =
false;
58 $this->server->class =
"ilSoapFunctions";
71 $this->server->service($HTTP_RAW_POST_DATA);
78 $this->server->configureWSDL(SERVICE_NAME, SERVICE_NAMESPACE);
88 $this->server->wsdl->addComplexType(
95 array(
array(
'ref'=>
'SOAP-ENC:arrayType',
'wsdl:arrayType'=>
'xsd:int[]')),
99 $this->server->wsdl->addComplexType(
106 array(
array(
'ref'=>
'SOAP-ENC:arrayType',
'wsdl:arrayType'=>
'xsd:string[]')),
110 $this->server->wsdl->addComplexType(
117 array(
array(
'ref'=>
'SOAP-ENC:arrayType',
'wsdl:arrayType'=>
'xsd:double[]')),
124 $this->server->register(
126 array(
'client' =>
'xsd:string',
127 'username' =>
'xsd:string',
128 'password' =>
'xsd:string'),
129 array(
'sid' =>
'xsd:string'),
131 SERVICE_NAMESPACE .
'#login',
134 'ILIAS login function' 138 $this->server->register(
140 array(
'client' =>
'xsd:string',
141 'PT' =>
'xsd:string',
142 'user' =>
'xsd:string'),
143 array(
'sid' =>
'xsd:string'),
145 SERVICE_NAMESPACE .
'#loginCAS',
148 'ILIAS login function via CAS' 151 $this->server->register(
153 array(
'client' =>
'xsd:string',
154 'username' =>
'xsd:string',
155 'password' =>
'xsd:string'),
156 array(
'sid' =>
'xsd:string'),
158 SERVICE_NAMESPACE .
'#login',
161 'ILIAS login function via LDAP' 165 $this->server->register(
167 array(
'sid' =>
'xsd:string',
168 'user_id' =>
'xsd:int'),
169 array(
'sid' =>
'xsd:string'),
171 SERVICE_NAMESPACE .
'#loginStudipUser',
174 'ILIAS login function for Stud.IP-Connection. DEPRECATED: this method will be removed in ILIAS 5.3.' 178 $this->server->register(
180 array(
'sid' =>
'xsd:string'),
181 array(
'success' =>
'xsd:boolean'),
183 SERVICE_NAMESPACE .
'#logout',
186 'ILIAS logout function' 189 $this->server->wsdl->addComplexType(
195 array(
'usr_id' =>
array(
'name' =>
'usr_id',
'type' =>
'xsd:int'),
196 'login' =>
array(
'name' =>
'login',
'type' =>
'xsd:string'),
197 'passwd' =>
array(
'name' =>
'passwd',
'type' =>
'xsd:string'),
198 'firstname' =>
array(
'name' =>
'firstname',
'type' =>
'xsd:string'),
199 'lastname' =>
array(
'name' =>
'lastname',
'type' =>
'xsd:string'),
200 'title' =>
array(
'name' =>
'title',
'type' =>
'xsd:string'),
201 'gender' =>
array(
'name' =>
'gender',
'type' =>
'xsd:string'),
202 'email' =>
array(
'name' =>
'email',
'type' =>
'xsd:string'),
203 'second_email' =>
array(
'name' =>
'second_email',
'type' =>
'xsd:string'),
204 'institution' =>
array(
'name' =>
'institution',
'type' =>
'xsd:string'),
205 'street' =>
array(
'name' =>
'street',
'type' =>
'xsd:string'),
206 'city' =>
array(
'name' =>
'city',
'type' =>
'xsd:string'),
207 'zipcode' =>
array(
'name' =>
'zipcode',
'type' =>
'xsd:string'),
208 'country' =>
array(
'name' =>
'country',
'type' =>
'xsd:string'),
209 'phone_office' =>
array(
'name' =>
'phone_office',
'type' =>
'xsd:string'),
210 'last_login' =>
array(
'name' =>
'last_login',
'type' =>
'xsd:string'),
211 'last_update' =>
array(
'name' =>
'last_update',
'type' =>
'xsd:string'),
212 'create_date' =>
array(
'name' =>
'create_date',
'type' =>
'xsd:string'),
213 'hobby' =>
array(
'name' =>
'hobby',
'type' =>
'xsd:string'),
214 'department' =>
array(
'name' =>
'department',
'type' =>
'xsd:string'),
215 'phone_home' =>
array(
'name' =>
'phone_home',
'type' =>
'xsd:string'),
216 'phone_mobile' =>
array(
'name' =>
'phone_mobile',
'type' =>
'xsd:string'),
217 'fax' =>
array(
'name' =>
'fax',
'type' =>
'xsd:string'),
218 'time_limit_owner' =>
array(
'name' =>
'time_limit_owner',
'type' =>
'xsd:int'),
219 'time_limit_unlimited' =>
array(
'name' =>
'time_limit_unlimited',
'type' =>
'xsd:int'),
220 'time_limit_from' =>
array(
'name' =>
'time_limit_from',
'type' =>
'xsd:int'),
221 'time_limit_until' =>
array(
'name' =>
'time_limit_until',
'type' =>
'xsd:int'),
222 'time_limit_message' =>
array(
'name' =>
'time_limit_message',
'type' =>
'xsd:int'),
223 'referral_comment' =>
array(
'name' =>
'referral_comment',
'type' =>
'xsd:string'),
224 'matriculation' =>
array(
'name' =>
'matriculation',
'type' =>
'xsd:string'),
225 'active' =>
array(
'name' =>
'active',
'type' =>
'xsd:int'),
226 'accepted_agreement' =>
array(
'name' =>
'accepted_agreement',
'type' =>
'xsd:boolean'),
227 'approve_date' =>
array(
'name' =>
'approve_date',
'type' =>
'xsd:string'),
228 'user_skin' =>
array(
'name' =>
'user_skin',
'type' =>
'xsd:string'),
229 'user_style' =>
array(
'name' =>
'user_style',
'type' =>
'xsd:string'),
230 'user_language' =>
array(
'name' =>
'user_language',
'type' =>
'xsd:string'),
231 'import_id' =>
array(
'name' =>
'import_id',
'type' =>
'xsd:string')
237 $this->server->register(
239 array(
'sid' =>
'xsd:string',
240 'user_name' =>
'xsd:string'),
241 array(
'usr_id' =>
'xsd:int'),
243 SERVICE_NAMESPACE .
'#lookupUser',
246 'ILIAS lookupUser(): check if username exists. Return usr_id or 0 if lookup fails.' 251 $this->server->register(
253 array(
'sid' =>
'xsd:string',
254 'user_id' =>
'xsd:int'),
255 array(
'user_data' =>
'tns:ilUserData'),
257 SERVICE_NAMESPACE .
'#getUser',
260 'ILIAS getUser(): get complete set of user data. DEPRECATED with release 5.2, will be deleted with 5.3. Use searchUsers() instead.' 264 $this->server->register(
266 array(
'sid' =>
'xsd:string',
267 'user_id' =>
'xsd:int'),
268 array(
'success' =>
'xsd:boolean'),
270 SERVICE_NAMESPACE .
'#deleteUser',
273 'ILIAS deleteUser(). Deletes all user related data (Bookmarks, Mails ...). DEPRECATED: Use importUsers() for deletion of user data.' 277 $this->server->register(
279 array(
'sid' =>
'xsd:string',
280 'target_id' =>
'xsd:int',
281 'crs_xml' =>
'xsd:string'),
282 array(
'course_id' =>
'xsd:int'),
284 SERVICE_NAMESPACE .
'#addCourse',
287 'ILIAS addCourse(). Course import. See ilias_course_0_1.dtd for details about course xml structure' 291 $this->server->register(
293 array(
'sid' =>
'xsd:string',
294 'course_id' =>
'xsd:int'),
295 array(
'success' =>
'xsd:boolean'),
297 SERVICE_NAMESPACE .
'#deleteCourse',
300 'ILIAS deleteCourse(). Deletes a course. Delete courses are stored in "Trash" and can be undeleted in ' .
301 ' the ILIAS administration. ' 304 $this->server->register(
305 AsyncTaskManager::CMD_START_WORKER,
306 array(
'sid' =>
'xsd:string'),
307 array(
'success' =>
'xsd:boolean'),
309 SERVICE_NAMESPACE .
'#' . AsyncTaskManager::CMD_START_WORKER,
312 'ILIAS ' . AsyncTaskManager::CMD_START_WORKER .
'().' 316 $this->server->register(
317 'assignCourseMember',
318 array(
'sid' =>
'xsd:string',
319 'course_id' =>
'xsd:int',
320 'user_id' =>
'xsd:int',
321 'type' =>
'xsd:string'),
322 array(
'success' =>
'xsd:boolean'),
324 SERVICE_NAMESPACE .
'#assignCourseMember',
327 'ILIAS assignCourseMember(). Assigns an user to an existing course. Type should be "Admin", "Tutor" or "Member"' 331 $this->server->register(
332 'excludeCourseMember',
333 array(
'sid' =>
'xsd:string',
334 'course_id' =>
'xsd:int',
335 'user_id' =>
'xsd:int'),
336 array(
'success' =>
'xsd:boolean'),
338 SERVICE_NAMESPACE .
'#excludeCourseMember',
341 'ILIAS excludeCourseMember(). Excludes an user from an existing course.' 345 $this->server->register(
346 'isAssignedToCourse',
347 array(
'sid' =>
'xsd:string',
348 'course_id' =>
'xsd:int',
349 'user_id' =>
'xsd:int'),
350 array(
'role' =>
'xsd:int'),
352 SERVICE_NAMESPACE .
'#isAssignedToCourse',
355 'ILIAS isAssignedToCourse(). Checks whether an user is assigned to a given course. ' .
356 'Returns 0 => not assigned, 1 => course admin, 2 => course member or 3 => course tutor' 360 $this->server->register(
362 array(
'sid' =>
'xsd:string',
363 'course_id' =>
'xsd:int'),
364 array(
'xml' =>
'xsd:string'),
366 SERVICE_NAMESPACE .
'#getCourseXML',
369 'ILIAS getCourseXML(). Get a xml description of a specific course.' 373 $this->server->register(
375 array(
'sid' =>
'xsd:string',
376 'course_id' =>
'xsd:int',
377 'xml' =>
'xsd:string'),
378 array(
'success' =>
'xsd:boolean'),
380 SERVICE_NAMESPACE .
'#updateCourse',
383 'ILIAS updateCourse(). Update course settings, assigned members, tutors, administrators with a ' .
384 'given xml description' 388 $this->server->register(
389 'getObjIdByImportId',
390 array(
'sid' =>
'xsd:string',
391 'import_id' =>
'xsd:string'),
392 array(
'obj_id' =>
'xsd:int'),
394 SERVICE_NAMESPACE .
'#getCourseIdByImportId',
397 'ILIAS getObjIdByImportId(). Get the obj_id of an ILIAS obj by a given import id.' 402 $this->server->register(
403 'getRefIdsByImportId',
404 array(
'sid' =>
'xsd:string',
405 'import_id' =>
'xsd:string'),
406 array(
'ref_ids' =>
'tns:intArray'),
408 SERVICE_NAMESPACE .
'#getRefIdsByImportId',
411 'ILIAS getRefIdsByImportId(). Get all reference ids by a given import id.' 415 $this->server->register(
417 array(
'sid' =>
'xsd:string',
418 'obj_id' =>
'xsd:string'),
419 array(
'ref_ids' =>
'tns:intArray'),
421 SERVICE_NAMESPACE .
'#getRefIdsByObjId',
424 'ILIAS getRefIdsByObjId(). Get all reference ids by a given object id.' 428 $this->server->register(
429 'getObjectByReference',
430 array(
'sid' =>
'xsd:string',
431 'reference_id' =>
'xsd:int',
432 'user_id' =>
'xsd:int'),
433 array(
'object_xml' =>
'xsd:string'),
435 SERVICE_NAMESPACE .
'#getObjectByReference',
438 'ILIAS getObjectByReference(). Get XML-description of an ILIAS object. If a user id is given, ' .
439 'this methods also checks the permissions of that user on the object.' 442 $this->server->register(
444 array(
'sid' =>
'xsd:string',
445 'title' =>
'xsd:string',
446 'user_id' =>
'xsd:int'),
447 array(
'object_xml' =>
'xsd:string'),
449 SERVICE_NAMESPACE .
'#getObjectsByTitle',
452 'ILIAS getObjectsByTitle(). Get XML-description of an ILIAS object with given title. ' .
453 'If a user id is given this method also checks the permissions of that user on the object.' 456 $this->server->register(
458 array(
'sid' =>
'xsd:string',
459 'types' =>
'tns:stringArray',
460 'key' =>
'xsd:string',
461 'combination' =>
'xsd:string',
462 'user_id' =>
'xsd:int'),
463 array(
'object_xml' =>
'xsd:string'),
465 SERVICE_NAMESPACE .
'#searchObjects',
468 'ILIAS searchObjects(): Searches for objects. Key is within "title" or "description" ' .
469 'Typical calls are searchObject($sid,array("lm","crs"),"\"this and that\"","and"); ' .
470 ' If an optional user id is given, this methods also return the permissions for that user ' .
471 'on the found objects' 474 $this->server->register(
476 array(
'sid' =>
'xsd:string',
477 'ref_id' =>
'xsd:int',
478 'types' =>
'tns:stringArray',
479 'user_id' =>
'xsd:int'),
480 array(
'object_xml' =>
'xsd:string'),
482 SERVICE_NAMESPACE .
'#getTreeChilds',
485 'ILIAS getTreeChilds(): Get all child objects of a given object.' .
486 'Choose array of types to filter the output. Choose empty type array to receive all object types' 489 $this->server->register(
491 array(
'sid' =>
'xsd:string',
492 'ref_id' =>
'xsd:int',
493 'types' =>
'tns:stringArray',
494 'user_id' =>
'xsd:int'),
495 array(
'object_xml' =>
'xsd:string'),
497 SERVICE_NAMESPACE .
'#getXMLTree',
500 'ILIAS getXMLTree(): Returns a xml stream with the subtree objects.' 505 $this->server->register(
507 array(
'sid' =>
'xsd:string',
508 'target_id' =>
'xsd:int',
509 'object_xml' =>
'xsd:string'),
510 array(
'ref_id' =>
'xsd:int'),
512 SERVICE_NAMESPACE .
'#addObject',
515 'ILIAS addObject. Create new object based on xml description under a given node ' .
516 '("category,course,group or folder). Return created reference id of the new object.' 519 $this->server->register(
521 array(
'sid' =>
'xsd:string',
522 'object_xml' =>
'xsd:string'),
523 array(
'success' =>
'xsd:boolean'),
525 SERVICE_NAMESPACE .
'#updateObjects',
528 'ILIAS updateObjects. Update object data (title,description,owner)' 531 $this->server->register(
533 array(
'sid' =>
'xsd:string',
534 'source_id' =>
'xsd:int',
535 'target_id' =>
'xsd:int'),
536 array(
'ref_id' =>
'xsd:int'),
538 SERVICE_NAMESPACE .
'#addReference',
541 'ILIAS addReference. Create new link of given object to new object. Return the new reference id' 544 $this->server->register(
546 array(
'sid' =>
'xsd:string',
547 'reference_id' =>
'xsd:int'),
548 array(
'success' =>
'xsd:boolean'),
550 SERVICE_NAMESPACE .
'#deleteObject',
553 'ILIAS deleteObject. Stores object in trash. If multiple references exist, only the reference is deleted ' 557 $this->server->register(
558 'removeFromSystemByImportId',
559 array(
'sid' =>
'xsd:string',
560 'import_id' =>
'xsd:string'),
561 array(
'success' =>
'xsd:boolean'),
563 SERVICE_NAMESPACE .
'#removeFromSystemByImportId',
566 'ILIAS removeFromSystemByImportId(). Removes an object identified by its import id permanently from the ' .
567 'system. All data will be deleted. There will be no possibility to restore it from the trash. Do not use ' .
568 'this function for deleting roles or users. Use deleteUser() or deleteRole() instead.' 571 $this->server->register(
573 array(
'sid' =>
'xsd:string',
574 'user_id' =>
'xsd:int',
575 'role_id' =>
'xsd:int'),
576 array(
'success' =>
'xsd:boolean'),
578 SERVICE_NAMESPACE .
'#addUserRoleEntry',
581 'ILIAS addUserRoleEntry. Assign user to role.' 584 $this->server->register(
585 'deleteUserRoleEntry',
586 array(
'sid' =>
'xsd:string',
587 'user_id' =>
'xsd:int',
588 'role_id' =>
'xsd:int'),
589 array(
'success' =>
'xsd:boolean'),
591 SERVICE_NAMESPACE .
'#deleteUserRoleEntry',
594 'ILIAS deleteUserRoleEntry. Deassign user from role.' 599 $this->server->wsdl->addComplexType(
606 'type' =>
'xsd:int'),
607 'operation' =>
array(
'name' =>
'operation',
608 'type' =>
'xsd:string'),
609 'description' =>
array(
'name' =>
'description',
610 'type' =>
'xsd:string'))
613 $this->server->wsdl->addComplexType(
621 'wsdl:arrayType' =>
'tns:ilOperation[]')),
624 $this->server->register(
626 array(
'sid' =>
'xsd:string'),
627 array(
'operations' =>
'tns:ilOperations'),
629 SERVICE_NAMESPACE .
'#getOperations',
632 'ILIAS getOperations(): get complete set of RBAC operations.' 635 $this->server->register(
637 array(
'sid' =>
'xsd:string',
638 'ref_id' =>
'xsd:int',
639 'role_id' =>
'xsd:int'),
640 array(
'success' =>
'xsd:boolean'),
642 SERVICE_NAMESPACE .
'#revokePermissions',
645 'ILIAS revokePermissions(): Revoke all permissions for a specific role on an object.' 648 $this->server->wsdl->addComplexType(
656 'wsdl:arrayType' =>
'xsd:int[]')),
660 $this->server->register(
662 array(
'sid' =>
'xsd:string',
663 'ref_id' =>
'xsd:int',
664 'role_id' =>
'xsd:int',
665 'operations' =>
'tns:intArray'),
666 array(
'success' =>
'xsd:boolean'),
668 SERVICE_NAMESPACE .
'#grantPermissions',
671 'ILIAS grantPermissions(): Grant permissions for a specific role on an object. ' .
672 '(Substitutes existing permission settings)' 675 $this->server->register(
677 array(
'sid' =>
'xsd:string',
678 'ref_id' =>
'xsd:int'),
679 array(
'role_xml' =>
'xsd:string'),
681 SERVICE_NAMESPACE .
'#getLocalRoles',
684 'ILIAS getLocalRoles(): Get all local roles assigned to an specific object.' 687 $this->server->register(
689 array(
'sid' =>
'xsd:string',
690 'user_id' =>
'xsd:int'),
691 array(
'role_xml' =>
'xsd:string'),
693 SERVICE_NAMESPACE .
'#getLocalRoles',
696 'ILIAS getUserRoles(): Get all local roles assigned to an specific user. ' 699 $this->server->register(
701 array(
'sid' =>
'xsd:string',
702 'target_id' =>
'xsd:int',
703 'obj_xml' =>
'xsd:string'),
704 array(
'role_ids' =>
'tns:intArray'),
706 SERVICE_NAMESPACE .
'#addRole',
709 'ILIAS addRole(): Creates new role under given node. "target_id" is the reference id of an ILIAS ' .
710 'ILIAS object. E.g ref_id of crs,grp. If no role folder exists, a new role folder will be created.' 713 $this->server->register(
715 array(
'sid' =>
'xsd:string',
716 'role_id' =>
'xsd:int'),
717 array(
'success' =>
'xsd:boolean'),
719 SERVICE_NAMESPACE .
'#deleteRole',
722 'ILIAS deleteRole(): Deletes an role and all user assignments. Fails if it is the last role of an user' 725 $this->server->register(
726 'addRoleFromTemplate',
727 array(
'sid' =>
'xsd:string',
728 'target_id' =>
'xsd:int',
729 'obj_xml' =>
'xsd:string',
730 'role_template_id' =>
'xsd:int'),
731 array(
'role_ids' =>
'tns:intArray'),
733 SERVICE_NAMESPACE .
'#addRole',
736 'ILIAS addRole(): Creates new role under given node. "target_id" is the reference id of an ILIAS ' .
737 'ILIAS object. E.g ref_id of crs,grp. If no role folder exists, a new role folder will be created. ' .
738 'In addition to addRole the template permissions will be copied from the given role template' 741 $this->server->register(
742 'getObjectTreeOperations',
743 array(
'sid' =>
'xsd:string',
744 'ref_id' =>
'xsd:int',
745 'user_id' =>
'xsd:int'),
746 array(
'operations' =>
'tns:ilOperations'),
748 SERVICE_NAMESPACE .
'#getPermissionsForObject',
751 'ILIAS getObjectTreeOperations(): Get all granted permissions for all references of ' .
752 'an object for a specific user. Returns array of granted operations or empty array' 755 $this->server->register(
757 array(
'sid' =>
'xsd:string',
758 'target_id' =>
'xsd:int',
759 'group_xml' =>
'xsd:string'),
760 array(
'ref_id' =>
'xsd:int'),
762 SERVICE_NAMESPACE .
'#addGroup',
765 'ILIAS addGroup(): Add grop according to valid group XML ' .
766 '@See ilias_group_0_1.dtd' 769 $this->server->register(
771 array(
'sid' =>
'xsd:string',
772 'title' =>
'xsd:string'),
773 array(
'exists' =>
'xsd:boolean'),
775 SERVICE_NAMESPACE .
'#groupExists',
778 'ILIAS addGroup(): Check if group with given name exists. ' 783 $this->server->register(
785 array(
'sid' =>
'xsd:string',
786 'ref_id' =>
'xsd:int'),
787 array(
'group_xml' =>
'xsd:string'),
789 SERVICE_NAMESPACE .
'#getGroup',
792 'ILIAS getGroup(): get xml description of grouip with given reference id.' 796 $this->server->register(
798 array(
'sid' =>
'xsd:string',
799 'group_id' =>
'xsd:int',
800 'user_id' =>
'xsd:int',
801 'type' =>
'xsd:string'),
802 array(
'success' =>
'xsd:boolean'),
804 SERVICE_NAMESPACE .
'#assignGroupMember',
807 'ILIAS assignGroupMember(). Assigns an user to an existing group. Type should be "Admin","Member"' 811 $this->server->register(
812 'excludeGroupMember',
813 array(
'sid' =>
'xsd:string',
814 'group_id' =>
'xsd:int',
815 'user_id' =>
'xsd:int'),
816 array(
'success' =>
'xsd:boolean'),
818 SERVICE_NAMESPACE .
'#excludeGroupMember',
821 'ILIAS excludeGroupMember(). Excludes an user from an existing group.' 825 $this->server->register(
827 array(
'sid' =>
'xsd:string',
828 'group_id' =>
'xsd:int',
829 'user_id' =>
'xsd:int'),
830 array(
'role' =>
'xsd:int'),
832 SERVICE_NAMESPACE .
'#isAssignedToGroup',
835 'ILIAS isAssignedToGroup(). Checks whether an user is assigned to a given group. ' .
836 'Returns 0 => not assigned, 1 => group admin, 2 => group member' 842 $this->server->register(
844 array(
'sid' =>
'xsd:string',
845 'rcp_to' =>
'xsd:string',
846 'rcp_cc' =>
'xsd:string',
847 'rcp_bcc' =>
'xsd:string',
848 'sender' =>
'xsd:string',
849 'subject' =>
'xsd:string',
850 'message' =>
'xsd:string',
851 'attachments' =>
'xsd:string'),
852 array(
'status' =>
'xsd:boolean'),
854 SERVICE_NAMESPACE .
'#sendMail',
857 'ILIAS sendMail(): Send mime mails according to xml description. Only for internal usage ' .
858 'Syntax, parameters may change in future releases' 861 $this->server->register(
863 array(
'sid' =>
'xsd:string',
864 'mail_xml' =>
'xsd:string'),
865 array(
'status' =>
'xsd:boolean'),
867 SERVICE_NAMESPACE .
'#sendMail',
870 'ILIAS distributeMails(): Distribute ILIAS mails according according to the mail setting of the recipients as ' .
871 'ILIAS internal mail or as e-mail.' 875 $this->server->register(
877 array(
'sid' =>
'xsd:string',
'copy_identifier' =>
'xsd:int'),
878 array(
'new_ref_id' =>
'xsd:int'),
880 SERVICE_NAMESPACE .
'#ilClone',
883 'ILIAS ilClone(): Only for internal usage.' .
884 'Syntax, parameters may change in future releases. ' 887 $this->server->register(
889 array(
'sid' =>
'xsd:string',
'server_id' =>
'xsd:int'),
890 array(
'success' =>
'xsd:boolean'),
892 SERVICE_NAMESPACE .
'#handleECSTasks',
895 'ILIAS handleECSTasks(): Only for internal usage.' .
896 'Syntax, parameters may change in future releases. ' 899 $this->server->register(
900 'ilCloneDependencies',
901 array(
'sid' =>
'xsd:string',
'copy_identifier' =>
'xsd:int'),
902 array(
'success' =>
'xsd:boolean'),
904 SERVICE_NAMESPACE .
'#ilCloneDependencies',
907 'ILIAS ilCloneDependencies(): Only for internal usage.' .
908 'Syntax, parameters may change in future releases. ' 911 $this->server->register(
912 'saveQuestionResult',
913 array(
'sid' =>
'xsd:string',
914 'user_id' =>
'xsd:int',
915 'test_id' =>
'xsd:int',
916 'question_id' =>
'xsd:int',
918 'solution' =>
'tns:stringArray'),
919 array(
'status' =>
'xsd:boolean'),
921 SERVICE_NAMESPACE .
'#saveQuestionResult',
924 'ILIAS saveQuesionResult: Typically called from an external assessment question to save the user input. DEPRECATED since ILIAS 3.9' 927 $this->server->register(
929 array(
'sid' =>
'xsd:string',
930 'active_id' =>
'xsd:long',
931 'question_id' =>
'xsd:long',
933 'solution' =>
'tns:stringArray'),
934 array(
'status' =>
'xsd:boolean'),
936 SERVICE_NAMESPACE .
'#saveQuestion',
939 '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.' 942 $this->server->register(
943 'saveQuestionSolution',
944 array(
'sid' =>
'xsd:string',
945 'active_id' =>
'xsd:long',
946 'question_id' =>
'xsd:long',
948 'solution' =>
'xsd:string'),
949 array(
'status' =>
'xsd:string'),
951 SERVICE_NAMESPACE .
'#saveQuestionSolution',
954 '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.' 957 $this->server->register(
958 'getQuestionSolution',
959 array(
'sid' =>
'xsd:string',
960 'active_id' =>
'xsd:long',
961 'question_id' =>
'xsd:int',
962 'pass' =>
'xsd:int'),
963 array(
'solution' =>
'tns:stringArray'),
965 SERVICE_NAMESPACE .
'#getQuestionSolution',
968 'ILIAS getQuestionSolution: Typically called from external assessment questions to retrieve the previous input of a user.' 971 $this->server->register(
973 array(
'sid' =>
'xsd:string',
974 'active_id' =>
'xsd:long'),
975 array(
'userdata' =>
'tns:stringArray'),
977 SERVICE_NAMESPACE .
'#getTestUserData',
980 '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.' 983 $this->server->register(
984 'getPositionOfQuestion',
985 array(
'sid' =>
'xsd:string',
986 'active_id' =>
'xsd:long',
987 'question_id' =>
'xsd:int',
988 'pass' =>
'xsd:int'),
989 array(
'position' =>
'xsd:int'),
991 SERVICE_NAMESPACE .
'#getPositionOfQuestion',
994 'ILIAS getPositionOfQuestion: Returns the position of a given question for a given user in a given test pass.' 997 $this->server->register(
998 'getPreviousReachedPoints',
999 array(
'sid' =>
'xsd:string',
1000 'active_id' =>
'xsd:long',
1001 'question_id' =>
'xsd:int',
1002 'pass' =>
'xsd:int'),
1003 array(
'position' =>
'tns:doubleArray'),
1005 SERVICE_NAMESPACE .
'#getPreviousReachedPoints',
1008 'ILIAS getPreviousReachedPoints: Returns an array of reached points for the previous questions in a given test pass.' 1011 $this->server->register(
1012 'getNrOfQuestionsInPass',
1013 array(
'sid' =>
'xsd:string',
1014 'active_id' =>
'xsd:long',
1015 'pass' =>
'xsd:int'),
1016 array(
'count' =>
'xsd:int'),
1018 SERVICE_NAMESPACE .
'#getNrOfQuestionsInPass',
1021 'ILIAS getNrOfQuestionsInPass: Returns the question count for a given test user in a given pass.' 1024 $this->server->register(
1025 'getStructureObjects',
1026 array(
'sid' =>
'xsd:string',
1027 'ref_id' =>
'xsd:int'),
1028 array(
'xml' =>
'xsd:string'),
1030 SERVICE_NAMESPACE .
'#getStructureObjects',
1033 'ILIAS getStructureObjects: delivers structure of content objects like learning modules (chapters/pages) or glossary (terms)' 1037 $this->server->register(
1039 array(
'sid' =>
'xsd:string',
1040 'folder_id' =>
'xsd:int',
1041 'usr_xml' =>
'xsd:string',
1042 'conflict_rule' =>
'xsd:int',
1043 'send_account_mail' =>
'xsd:int'),
1044 array(
'protocol' =>
'xsd:string'),
1046 SERVICE_NAMESPACE .
'#importUsers',
1049 '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' 1052 $this->server->register(
1054 array(
'sid' =>
'xsd:string',
1055 'role_type' =>
'xsd:string',
1056 'id' =>
'xsd:string'),
1057 array(
'role_xml' =>
'xsd:string'),
1059 SERVICE_NAMESPACE .
'#getRoles',
1062 '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' 1065 $this->server->register(
1066 'getUsersForContainer',
1067 array(
'sid' =>
'xsd:string',
1068 'ref_id' =>
'xsd:int',
1069 'attach_roles' =>
'xsd:int',
1070 'active' =>
'xsd:int'),
1071 array(
'user_xml' =>
'xsd:string'),
1073 SERVICE_NAMESPACE .
'#getUsersForContainer',
1076 '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' 1079 $this->server->register(
1081 array(
'sid' =>
'xsd:string',
1082 'role_id' =>
'xsd:int',
1083 'attach_roles' =>
'xsd:int',
1084 'active' =>
'xsd:int'),
1085 array(
'user_xml' =>
'xsd:string'),
1087 SERVICE_NAMESPACE .
'#getUsersForRole',
1090 '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' 1093 $this->server->register(
1095 array(
'sid' =>
'xsd:string',
1096 'key_fields' =>
'tns:stringArray',
1097 'query_operator' =>
'xsd:string',
1098 'key_values' =>
'tns:stringArray',
1099 'attach_roles' =>
'xsd:int',
1100 'active' =>
'xsd:int'),
1101 array(
'user_xml' =>
'xsd:string'),
1103 SERVICE_NAMESPACE .
'#searchUsers',
1106 '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' 1111 $this->server->register(
1113 array(
'sid' =>
'xsd:string'),
1114 array(
'status' =>
'xsd:boolean'),
1116 SERVICE_NAMESPACE .
'#hasNewMail',
1119 'ILIAS hasNewMail(): Checks whether the current authenticated user has a new mail.' 1122 $this->server->register(
1124 array(
'sid' =>
'xsd:string'),
1125 array(
'xmlresultset' =>
'xsd:string'),
1127 SERVICE_NAMESPACE .
'#getNIC',
1130 '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' 1133 $this->server->register(
1135 array(
'sid' =>
'xsd:string',
"ref_id" =>
'xsd:int',
"attachment_mode" =>
"xsd:int"),
1136 array(
'exercisexml' =>
'xsd:string'),
1138 SERVICE_NAMESPACE .
'#getExerciseXML',
1141 'ILIAS getExerciseXML(): returns xml description of exercise. Attachment mode: 0 - no file contents, 1 - plain content (base64encoded), 2 zlib + base64, 3 gzip + base64)' 1144 $this->server->register(
1146 array(
'sid' =>
'xsd:string',
"target_id" =>
'xsd:int',
"xml" =>
"xsd:string"),
1147 array(
'refid' =>
'xsd:int'),
1149 SERVICE_NAMESPACE .
'#addExercise',
1152 '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!' 1155 $this->server->register(
1157 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1158 array(
'success' =>
'xsd:boolean'),
1160 SERVICE_NAMESPACE .
'#updateExercise',
1163 '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.!' 1166 $this->server->register(
1168 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'attachment_mode' =>
'xsd:int'),
1169 array(
'filexml' =>
'xsd:string'),
1171 SERVICE_NAMESPACE .
'#getFileXML',
1174 'ILIAS getFileXML(): returns xml description of file. Attachment mode: 0 - no file contents, 1 - plain content (base64encoded), 2 zlib + base64, 3 gzip + base64)' 1177 $this->server->register(
1179 array(
'sid' =>
'xsd:string',
'target_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1180 array(
'refid' =>
'xsd:int'),
1182 SERVICE_NAMESPACE .
'#addFile',
1185 '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!' 1188 $this->server->register(
1190 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1191 array(
'success' =>
'xsd:boolean'),
1193 SERVICE_NAMESPACE .
'#updateFile',
1196 '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.!' 1200 $this->server->register(
1202 array(
'sid' =>
'xsd:string',
'user_ids' =>
'tns:intArray',
'attach_roles' =>
'xsd:int'),
1203 array(
'xml' =>
'xsd:string'),
1205 SERVICE_NAMESPACE .
'#resolveUsers',
1208 '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' 1213 $this->server->register(
1214 'getObjIdsByRefIds',
1215 array(
'sid' =>
'xsd:string',
1216 'ref_ids' =>
'tns:intArray'),
1217 array(
'obj_ids' =>
'tns:intArray'),
1219 SERVICE_NAMESPACE .
'#getRefIdsByImportId',
1222 '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' 1225 $this->server->register(
1227 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1228 array(
'success' =>
'xsd:boolean'),
1230 SERVICE_NAMESPACE .
'#updateGroup',
1233 'ILIAS updateGroup(): update existing group using ref id and group xml (see DTD).' 1238 $this->server->register(
1239 'getIMSManifestXML',
1240 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int'),
1241 array(
'xml' =>
'xsd:string'),
1243 SERVICE_NAMESPACE .
'#getIMSManifestXML',
1246 'ILIAS getIMSManifestXML(): returns xml of ims manifest file (scorm learning module) referred by refid' 1249 $this->server->register(
1250 'hasSCORMCertificate',
1251 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'usr_id' =>
'xsd:int'),
1252 array(
'success' =>
'xsd:boolean'),
1254 SERVICE_NAMESPACE .
'#hasSCORMCertificate',
1257 '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' 1260 $this->server->register(
1261 'getSCORMCompletionStatus',
1262 array(
'sid' =>
'xsd:string',
'usr_id' =>
'xsd:int',
'ref_id' =>
'xsd:int'),
1263 array(
'status' =>
'xsd:string'),
1265 SERVICE_NAMESPACE .
'#getSCORMCompletionStatus',
1268 'ILIAS getSCORMCompletionStatus(): returns a completion status of a scorm module' 1271 $this->server->register(
1273 array(
'sid' =>
'xsd:string',
'xml' =>
'xsd:string'),
1274 array(
'xml' =>
'xsd:int'),
1276 SERVICE_NAMESPACE .
'#copyObject',
1279 'ILIAS copyObject(): returns reference of copy, if copy is created directly, or the ref id of the target if copy is in progress.' 1282 $this->server->register(
1284 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'target_id' =>
'xsd:int'),
1285 array(
'result' =>
'xsd:boolean'),
1287 SERVICE_NAMESPACE .
'#moveObject',
1290 'ILIAS moveObject(): returns true, if object with refid could be successfully moved to target id, other it raises an error.' 1294 $this->server->register(
1296 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'sum_only' =>
'xsd:boolean'),
1297 array(
'xml' =>
'xsd:string'),
1299 SERVICE_NAMESPACE .
'#getTestResults',
1302 'ILIAS getTestResults(): returns XMLResultSet with 1303 sum only = true: user_id, login, firstname, lastname, matriculation, maximum points, received points 1304 sum only = false: user_id, login, firstname, lastname, matriculation, question id, question title, question points, received points' 1307 $this->server->register(
1308 'removeTestResults',
1310 'sid' =>
'xsd:string',
1311 'ref_id' =>
'xsd:int',
1312 'user_ids' =>
'tns:intArray'),
1313 array(
'success' =>
'xsd:boolean'),
1315 SERVICE_NAMESPACE .
'#removeTestResults',
1318 'ILIAS removeTestResults(): remove test results for the chosen users' 1321 $this->server->register(
1322 'getCoursesForUser',
1323 array(
'sid' =>
'xsd:string',
'parameters' =>
'xsd:string'),
1324 array(
'xml' =>
'xsd:string'),
1326 SERVICE_NAMESPACE .
'#getCoursesForUser',
1329 '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.' 1332 $this->server->register(
1334 array(
'sid' =>
'xsd:string',
'parameters' =>
'xsd:string'),
1335 array(
'xml' =>
'xsd:string'),
1337 SERVICE_NAMESPACE .
'#getGroupsForUser',
1340 '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.' 1343 $this->server->register(
1345 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int'),
1346 array(
'xml' =>
'xsd:string'),
1348 SERVICE_NAMESPACE .
'#getPathForRefId',
1351 'ILIAS getPathForRefId(): returns XMLResultSet with columns ref_id, type and title.' 1354 $this->server->register(
1356 array(
'sid' =>
'xsd:string',
'key' =>
'xsd:string',
'combination' =>
'xsd:string',
'role_type' =>
'xsd:string'),
1357 array(
'xml' =>
'xsd:string'),
1359 SERVICE_NAMESPACE .
'#searchRoles',
1362 'ILIAS searchRoles(): returns XML following role dtd with search results for given role type and search terms.' 1365 $this->server->register(
1366 'getInstallationInfoXML',
1368 array(
'xml' =>
'xsd:string'),
1370 SERVICE_NAMESPACE .
'#getInstallationInfoXML',
1373 'ILIAS getInstallationInfoXML(): returns XML following installation_info dtd' 1376 $this->server->register(
1378 array(
'clientid' =>
'xsd:string'),
1379 array(
'xml' =>
'xsd:string'),
1381 SERVICE_NAMESPACE .
'#getClientInfoXML',
1384 'ILIAS getClientInfoXML(): returns XML following installation_info dtd, contains the client the data of given client id' 1387 $this->server->register(
1388 'getSkillCompletionDateForTriggerRefId',
1389 array(
'sid' =>
'xsd:string',
1390 'user_id' =>
'xsd:string',
1391 'ref_id' =>
'xsd:string'),
1392 array(
'dates' =>
'xsd:string'),
1394 SERVICE_NAMESPACE .
'#getSkillCompletionDateForTriggerRefId',
1397 'ILIAS getSkillCompletionDateForTriggerRefId(). Get completion dates for skill trigger ref ids.' 1400 $this->server->register(
1401 'checkSkillUserCertificateForTriggerRefId',
1402 array(
'sid' =>
'xsd:string',
1403 'user_id' =>
'xsd:string',
1404 'ref_id' =>
'xsd:string'),
1405 array(
'have_certificates' =>
'xsd:string'),
1407 SERVICE_NAMESPACE .
'#checkSkillUserCertificateForTriggerRefId',
1410 'ILIAS checkSkillUserCertificateForTriggerRefId(). Check user certificates for trigger ref ids.' 1413 $this->server->register(
1414 'getSkillTriggerOfAllCertificates',
1415 array(
'sid' =>
'xsd:string',
1416 'user_id' =>
'xsd:string'),
1417 array(
'certificate_triggers' =>
'xsd:string'),
1419 SERVICE_NAMESPACE .
'#getSkillTriggerOfAllCertificates',
1422 'ILIAS getSkillTriggerOfAllCertificates(). Check get all trigger with certificate for a user.' 1425 $this->server->register(
1427 array(
'sid' =>
'xsd:string'),
1428 array(
'usr_id' =>
'xsd:int'),
1430 SERVICE_NAMESPACE .
'#getUserIdBySid',
1433 'ILIAS getUserIdBySid(): returns an ILIAS usr_id for the given sid' 1436 $this->server->register(
1437 'deleteExpiredDualOptInUserObjects',
1438 array(
'sid' =>
'xsd:string',
1439 'usr_id' =>
'xsd:int'),
1440 array(
'status' =>
'xsd:boolean'),
1442 SERVICE_NAMESPACE .
'#deleteExpiredDualOptInUserObjects',
1445 'ILIAS deleteExpiredDualOptInUserObjects(): Deletes expired user accounts caused by unconfirmed registration links in "dual opt in" registration method' 1449 $this->server->register(
1451 array(
'sid' =>
'xsd:string',
"ref_id" =>
'xsd:int'),
1452 array(
'weblinkxml' =>
'xsd:string'),
1454 SERVICE_NAMESPACE .
'#readWebLink',
1457 'ILIAS readWebLink(): returns xml description of a weblink container.' 1460 $this->server->register(
1462 array(
'sid' =>
'xsd:string',
"target_id" =>
'xsd:int',
"xml" =>
"xsd:string"),
1463 array(
'refid' =>
'xsd:int'),
1465 SERVICE_NAMESPACE .
'#createWebLink',
1468 '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!' 1471 $this->server->register(
1473 array(
'sid' =>
'xsd:string',
'ref_id' =>
'xsd:int',
'xml' =>
'xsd:string'),
1474 array(
'success' =>
'xsd:boolean'),
1476 SERVICE_NAMESPACE .
'#updateWebLink',
1479 'ILIAS updateWebLink():update existing weblink, update weblink properties from xml (see ilias_weblink_4_0.dtd for details).' 1483 $this->server->register(
1484 'getLearningProgressChanges',
1485 array(
'sid' =>
'xsd:string',
'timestamp' =>
'xsd:string',
'include_ref_ids' =>
'xsd:boolean',
'type_filter' =>
'tns:stringArray'),
1486 array(
'lp_data' =>
'xsd:string'),
1488 SERVICE_NAMESPACE .
'#getLearningProgressChanges',
1491 'ILIAS getLearningProgressChanges(): Get learning progress changes after a given timestamp.' 1497 $this->server->register(
1500 'sid' =>
'xsd:string',
1501 'ref_ids' =>
'tns:intArray',
1502 'usr_ids' =>
'tns:intArray',
1503 'type_filter' =>
'tns:stringArray',
1504 'progress_filter' =>
'tns:intArray' 1506 array(
'status' =>
'xsd:boolean'),
1508 SERVICE_NAMESPACE .
'#deleteProgress',
1511 'Delete user progress data of objects. ' 1515 $this->server->register(
1518 'sid' =>
'xsd:string',
1519 'ref_id' =>
'xsd:int',
1520 'progress_filter' =>
'tns:intArray' 1522 array(
'user_results' =>
'xsd:string'),
1524 SERVICE_NAMESPACE .
'#getProgressInfo',
1527 'Get object learning progress information' 1531 $this->server->register(
1532 'exportDataCollectionContent',
1534 'sid' =>
'xsd:string',
1535 'ref_id' =>
'xsd:int',
1536 'table_id' =>
'xsd:int',
1537 'format' =>
'xsd:string',
1538 'filepath' =>
'xsd:string' 1540 array(
'export_path' =>
'xsd:string'),
1542 SERVICE_NAMESPACE .
'#exportDataCollectionTableContent',
1545 'Generate DataCollectionContent Export' 1548 $this->server->register(
1549 'processBackgroundTask',
1551 'sid' =>
'xsd:string',
1552 'task_id' =>
'xsd:int' 1554 array(
'status' =>
'xsd:boolean'),
1556 SERVICE_NAMESPACE .
'#processBackgroundTask',
1559 'Process task in background' 1563 if (isset(
$_GET[
'client_id'])) {
1581 global $ilPluginAdmin;
1583 foreach ($soapHook->getWsdlTypes() as
$type) {
1584 $this->server->wsdl->addComplexType(
1586 $type->getTypeClass(),
1587 $type->getPhpType(),
1588 $type->getCompositor(),
1589 $type->getRestrictionBase(),
1590 $type->getElements(),
1591 $type->getAttributes(),
1592 $type->getArrayType()
1595 foreach ($soapHook->getSoapMethods() as $method) {
1596 $this->server->register(
1598 $method->getInputParams(),
1599 $method->getOutputParams(),
1600 $method->getServiceNamespace(),
1601 $method->getServiceNamespace() .
'#' . $method->getName(),
1602 $method->getServiceStyle(),
1603 $method->getServiceUse(),
1604 $method->getDocumentation()
soap_server allows the user to create a SOAP server that is capable of receiving messages and returni...
handleSoapPlugins()
Register any methods and types of SOAP plugins to the SOAP server.
const CONTEXT_SOAP_NO_AUTH
global $HTTP_RAW_POST_DATA
__construct($a_use_wsdl=true)
static initILIAS()
ilias initialisation
Create styles array
The data for the language used.
static init($a_type)
Init context by type.