Re: Web Service Test Client - All Errors - Help
by Carolyn Gardner. I am getting this error message. What do I need to do for this person? No others are having this issue as yet.
View ArticleRe: "Context does not exist" error
by Patrick Pollet. @lilian You are missing an array in your paramters forming line $enrolment = array('roleid' => 5,'userid' => 24,'courseid' => 69);$enrolments = array( $enrolment...
View ArticleRe: Web Services and WSDL creation
by Suraj Kumar. Hi Federico Ghigini, I am new to the WSDL implementation in Moodle. Please let me know How can I get wsdl of an existing webservice suppose "core_course_create_courses". I am running a...
View ArticleRe: "Context does not exist" error
by Lilian hugues. Hi Patrick,Many thanks for your response.As you've recommanded, I've replaced " $enrolments = array( $enrolment ); " by " $enrolments = array( array($enrolment )); ".it seems that I...
View ArticleRe: Web Services and WSDL creation
by Federico Ghigini. Hi!I suppose that you have installed my patch and activated it. To obtain the wsdl of all the available services (and so the one you are looking for) you have to call this...
View ArticleRe: Web Services and WSDL creation
by Suraj Kumar. Hi Federico, Yup!! This works well. Thanks for your quick response.
View ArticleRe: "Context does not exist" error
by Patrick Pollet. Ok, please find attached the code that DO work in Moodle 2.3 This code was generated from the REST sample code available at github https://github.com/moodlehq/sample-ws-clients and...
View ArticleRe: "Context does not exist" error
by Lilian hugues. Hi Patrick,Many thanks for your response and your attached file.I still have the same error message (context does not exist)Thus i think you are right, the issu seems to be coming...
View ArticleRe: "Context does not exist" error
by Lilian hugues. Hi Patrick, hi Everybody,Thanks to the help of Patrick and after having a deep look in the database, I've identified my mistake and I've fixed it.I was calling the number that I've...
View ArticleHow to use core_course_get_courses?
by Nico L.. Hi, I am testing web services using a moodle core web service, core_course_get_courses. I think this web service returns all courses from Moodle, but I only get data from a course when I...
View ArticleRe: Quiz web services available as local plugin
by Satyajitsinh Raijada. Hi Harry,Can you share that web service, please?Or lilttle bit guidline will also help me a lot.Thanks.
View ArticleRe: Login through webservices using SOAP protocol
par Andranik Sharabchian. Hello Girish,I've already configured LDAP authentication and have students who are enrolled to the courses.I use web services to take courses of my users also I have direct...
View ArticleRe: How to use core_course_get_courses?
by Andranik Sharabchian. I can offer you some solution.You can use another function. Create one universal user who is enrolled in the all courses. Then use the function "core_enrol_get_users_courses"...
View ArticleRe: Quiz web services available as local plugin
by Patrick Walther. Could anyone send me the webservice please? It's really important. Or Maybe a detailed howto?
View ArticleAdd a plain sha1 password with core_user_create_users
par caue caue. Hello, we have an academic system, where the passwords are stored in sh1, I would write to moodle via core_user_create_users, keeping the original encryption password. Tanks !
View ArticleRe: How to update indtitution and other options on webservice
par Pinki Naskar. For this at first you have to find the external function in services.php of Moodle which u r using,find out the methodname and classpath, classpath is the path of the methodname.You...
View ArticleOK_Tech White Screen
par Andrew Akhtar. HiI've installed the Ok tech web service. I added the local folder to my Moodle root and then added the oktech folder and wspp folder as per the instructions. It appears to have...
View ArticleRe: Webservice Dev core_role_assign_roles Understanding
by Pinki Naskar. No function is available to unenroll a user from a course.You have to create function for it. You will get help from the...
View ArticleRe: Optional user field webservice
by Pinki Naskar. For this at first you have to find the external function in services.php of Moodle which u r using,find out the methodname and classpath, classpath is the path of the methodname.You...
View ArticleRe: OK_Tech White Screen
by Andrew Akhtar. I managed to get the problem fixed. I placed the wspp folder for OKtech webservices in the wrong place. I think I followed an older installation process.Everything is working fine...
View Article