Talk:Creating a web service and a web service function
From MoodleDocs
I'm trying to say something constructive... but this is unbelievably complicated. What we really need are a progression from REALLY trivial examples (say, pass 1 single parameter and just return it again) and build up to more complicated and general examples. The discussion here concentrates on a service that is probably WAY more complicated that anyone will ever need and is just going to frighten potential users away. --Howard Miller 14:39, 21 July 2010 (UTC)
Seemed to have missed a vital bit.. how to set up the class. Looking at other bits of code I assume:
require_once("$CFG->libdir/externallib.php");
class moodle_group_external extends external_api {
--Howard Miller 15:16, 21 July 2010 (UTC)