Beacon Hill Cottage

...because open source matters

  • Increase font size
  • Default font size
  • Decrease font size
Home MoodleServices

MoodleServices (Current Development)

Attachments:
Download this file (MoodleWebServices.zip)MoodleWebServices.zip[ ]117 Kb27/04/2012 15:17

This project is to create code for a Moodle webservice proxy server. This will enable the creation of a WSDL compliant file for Moodle webservices calls in an indirect method. It is a Netbeans project which is designed to run on a Glassfish server. This project will be updated after the MoodleRest project has been updated for calls in Moodle 2.5.

27/04/2012 Group and Enrol calls added.

26/04/2012 Back to getting this project to mirror the MoodleRest library, added sendInstantMessage and sendInstantMessages.

15/04/2012 Added access to more webservices.

14/04/2012 Modifying the container classes so they are composed of objects rather than primitives to enable the use of null  meaning that the instance member is not set. Also added protected methods to the container classes to use as setters and getters for the instance members rather than direct access within the internals of the web services. Translation  methods moved into their container classes. These are for the translation between MoodleServices container objects and MoodleRest container objects. MoodleRestUser methods next in line, MoodleUser and associated classes have been transferred and modified accordingly.

Webservices supported (so far):

Not testedTested

createCategory
createCategories
deleteCategory
deleteCategories
updateCategory
updateCategories
getAllCategories
getCategoryAndChildren
getCategoryChildrenOptional
updateUser
updateUsers
deleteUser
deleteUsers
getUsersById
getCourseUserProfiles
getUsers
createNote
createNotes
sendInstantMessage
sendInstantMessages
createGroup
createGroups
getGroupById
getGroupsById
getGroupsFromCourseId
deleteGroupById
deleteGroupsById
getMembersFromGroupId
getMembersFromGroupIds
addMemberToGroup
addMembersToGroups
deleteMemberOfGroup
deleteMembersOfGroups
getUsersCourses
getEnrolledUsersWithCapability
getEnrolledUsers
enrolUser
enrolUsers
unenrolUser
unenrolUsers

getAllCourses
getCoursesByIds
getCourseById
createCourse
createCourses
getCourseContent
getUserById
getSiteInfo
createUser
createUsers

Note these methods use the thread safe underscored methods in the library.

Last Updated on Saturday, 09 November 2013 12:10