For what do you need XML-RPC

For what do you need XML-RPC

by Sranan Mang -
Number of replies: 6

I have installed Moodle 3.8.3+ (Build: 20200515)

On installation it confronted me with the XML-RPC has need to be checked.

I contacted my host, from where I host my domain.

They told me they have it not active because of security reasons.

I now have Moodle installed.

What can I do with XML-RPC of better yet what CAN'T I do without it?

Have searched, but not found an answer.

https://meneer-moenesar.nl/info.php

To see my PHP...

Average of ratings: -
In reply to Sranan Mang

Re: For what do you need XML-RPC

by Ken Task -
Picture of Particularly helpful Moodlers
In reply to Ken Task

Re: For what do you need XML-RPC

by Sranan Mang -
Hello, Ken,

Thanks for the information.
I've looked into it, but I can't make any sense of it.
I believe it's for external applications to access your website and make changes. For example, to place a lesson on the website with your mobile phone.

But is the following possible without the protocol?

A website where I have +/- 500 student accounts, with everyone's own personal profile.
Different classes, levels, years and groups.
LiveChat function.
Attendance registration.
Lessons can be scheduled in a calendar.
Tests can be taken.
A lot of course material.

Is it possible to do the above?
Students are not allowed to change anything on the website, the only permissions they get are to log in, view course material, update profile, report attendance, live chat function and check which assignments they have made (possibly submit assignments).
In reply to Sranan Mang

Re: For what do you need XML-RPC

by Ken Task -
Picture of Particularly helpful Moodlers

"But is the following possible without the protocol?"

One way to find out for sure ... don't load it.  Test your site as student using a mobile browser.

'SoS', Ken

In reply to Ken Task

Re: For what do you need XML-RPC

by Sranan Mang -
So basically if I want the students to be able to use it then anything is possible, only with a mobile it might be a problem?
But not with a laptop/pc?

I just made a blank course and a test user, I gave it the role student in the course.
With Chrome on my smartphone I tried it and I was able to log in and open the course.

What am I missing?
In reply to Ken Task

Re: For what do you need XML-RPC

by Sranan Mang -
The last thing I want is to have made a complete website and only then (or in the meantime) find out that several elements will not work.
Moodle does take enough time and effort to do it right. I don't want to have put this in for nothing.
Just because my host doesn't support the protocol...
In reply to Sranan Mang

Re: For what do you need XML-RPC

by Ken Task -
Picture of Particularly helpful Moodlers

Yep, no one wants to spend the time only to find out efforts resulted in 'less than ... '.

As long as your users do not attempt to use a moodle mobile app ... which requires webservices and php xml-rpc (if I'm not mistaken) then ok.

But ... consider ... site is to be 24/7 and available from 'anywhere' ... that suggest no restriction as to device/browser used.   Laptop/Desktop, plus hand held device ... be that smart phone or 'fablet'.

IMHO, if hosting doesn't support all that is 'required' or 'highly recommended', then think I'd find hosting that did support.

Choice is yours however.   Hosting your own Moodle is 'do it yourself'.

'SoS', Ken