Re: Webservice - localhost vs "live" problem
by Gergely Gaal. If you have this kind of issue I recommend this page to check: http://docs.moodle.org/23/en/PHP Problem solved. (Usually you will develop Moodle on your local computer so in the...
View ArticleDeveloping webservice - 'do not match signature' error
by Vincent Ogloblinsky. Using Moodle 2.3.1 With this simple setup : $token = '6aa701162583677b5247683d127d2a80';$domainname = 'http://localhost/moodle'; /// FUNCTION NAME$functionname =...
View ArticleRe: Developing webservice - 'do not match signature' error
by Vincent Ogloblinsky. First solution found to prevent displaying the "match signature" error : Comment this block if (!$matched) { require_once 'Zend/XmlRpc/Server/Exception.php'; throw new...
View ArticleWifi Access Moodle
by Sahil Rally. Hello Geeks I am trying to access moodle wewb services VIA my android phone. The code is running fine on Emulator but not working on my android phone VIA WIFI. The most probanle reason...
View ArticleRe: Developing webservice - 'do not match signature' error
by Hubert Chathi. Commenting out code that does error checking is a VERY BAD IDEA. You should instead find out why the error checking code is complaining. The error that you got tells you what you...
View ArticleRe: Create User using XML-RPC Webservice
by Gergely Gaal. Solution to this problem: When you create costumfields, do not use underscores...
View ArticleRe: soap: enrol_manual_enrol_users returning nothing at all
by Shu Wing Chan. Hi Robin/Anyone Do you know if there is any way to get the roleid, userid and courseid with the Web Services API? It works fine if you know those ids. I am aware of using SQLs to...
View ArticleRe: Web Services and WSDL creation
by Julian Dehne. Hi Frederico, Your project looks promising. we need the wsdl urgently at our university. We also have a team that could support you! If you are interested, please feel free to contact...
View ArticleRe: SOAP Webservice - parameters missing
by kushal mehta. yes we were also facing same problem.exact thing is as follows. 1. windows and linux machine behaves different for soap call 2. if you are passing correct variable to soap call it...
View ArticlePlease help with correct form of web service parameters
by Jackie Smile. Hello, I hope someone can help me sort out my problem with the correct form of the parameters for the web service. Or maybe I'm doing it all wrong in the first place. I'm trying to...
View ArticleNeed Moodle User Enrollment ID
by Chris C. I am using "enrol_manual_enrol_users" to create Moodle enrollments; however, this function does not return the ID of the record created (i.e., the mdl_user_enrolments.id), and I need that...
View Articlehow to enrol user to freshly created course via web services
by Tomas Madajevas. hi, i'm trying to integrate moodle with drupal cms via web services. i've successfuly created categories, courses, users and also managed to extend moodle web services...
View ArticleRe: how to enrol user to freshly created course via web services
by Netram Dhakar. Hi Tomas, As per my understanding Your webservice user don't have permision to assign role (Means your token don't have permission to assign role). please check the table...
View ArticleRe: Need Moodle User Enrollment ID
by Chris C. I figured out a way to do this based on the deprecated external function"get_enrolled_users". I basically just added the userid param, and modified the $sql to include user_enrolments.id,...
View ArticleRe: Login webservice
by Javeria Qamar. HiI'm the new to the Moodle development too. I want to create a form in android which allow user login into Moodle by SOAP/REST protocol. I've try many ways too but all in vain. Can...
View ArticleRe: Example of using Web services
by pratik shrstha. thanx for all these things....its helping a lot but i m nt figuring out one thing is..... $response = $curl->post( $serverurl . $restformat, $params ); what should be the value...
View ArticleAts: Re: Login webservice
by Tomas Madajevas. hi. i've maneged to fix my problem, but i don't see how my solution could help you in login process. reasently i was working on android aplication too. because my knoladge in java...
View ArticleCan a web service handle XML?
by Jackie Smile. Is it possible to post XML data to a web service or do I need to convert it beforehand? How would the parameter definition look like if XML is possible? Thank youjackie
View Article'mod/webservices/' missing
by john saylor. hi i'm trying to get webservices to work and having trouble with token authentication. when i try to create a user i get this back: <?xml version="1.0" encoding="UTF-8"...
View ArticleRe: 'mod/webservices/' missing
by Gergely Gaal. Hi! Did you set it via admin interface? I mean the service and its functions and the users who can use it and of course the token?
View Article