Does Moodle expose any functionality through an RPC mechanism?
Can't see anything grepping the source and docs, but I may be missing something.
regards,
martin
XML-RPC or SOAP API?
Number of replies: 9Re: XML-RPC or SOAP API?
No repsonse probably means there's nothing.
Did you investigate any further or even implemented something by yourself?
Regards,
Hannes
Did you investigate any further or even implemented something by yourself?
Regards,
Hannes
Re: XML-RPC or SOAP API?
Ahhh, this is yet another thing on my endless to-do list. My idea was to expose a SOAP interface of some sort. It was really just something to get at the basic database functionality so you could add/edit users enroll students and suchlike. That would just be the start though.... what did you guys want to do?
Re: XML-RPC or SOAP API?
Yup, access to the user database is one of the things on the list.
And then we have a client that will probably need a SOAP (or XMLRPC or ..) interface for more or less all actions concerning the quiz module..
Well, thanks for your reply.
And then we have a client that will probably need a SOAP (or XMLRPC or ..) interface for more or less all actions concerning the quiz module..
Well, thanks for your reply.

Re: XML-RPC or SOAP API?
The blog package has some support for this. I need to update it and find some better ways of doing testing against it. If you want to assist me in expanding its capabilities that would be great. In addition to admin functions as you mention it would be nice to enable users to auth and interact with forums (read/post) using some form of RPC.
Daryl
Daryl
Re: XML-RPC or SOAP API?
OK Folks,
What in the world is this "XML-RPC or SOAP API"?? It sure sounds interesting.
Where can I go and read about it [Remember I am a novice to this stuff}.
WP1
What in the world is this "XML-RPC or SOAP API"?? It sure sounds interesting.
Where can I go and read about it [Remember I am a novice to this stuff}.
WP1
Re: XML-RPC or SOAP API?
SOAP is a simple XML based protocol to let applications exchange information over HTTP.
XML-RPC? It's a spec and a set of implementations that allow software running on disparate operating systems, running in different environments to make procedure calls over the Internet.
http://www.w3c.org
http://www.xmlrpc.com
http://www.w3schools.com
XML-RPC? It's a spec and a set of implementations that allow software running on disparate operating systems, running in different environments to make procedure calls over the Internet.
http://www.w3c.org
http://www.xmlrpc.com
http://www.w3schools.com
Re: XML-RPC or SOAP API?
- An API is an "Application Programming Interface". It allows software components to be "talked to" in a well-defined manner.
- XML-RPC is a standard to "talk to" software via the internet using a protocol consisting of a few simple XML constructs.
- SOAP wants to be the successor of XML-RPC, it is more flexible, more complicated and preferred by big business. When you hear them talking about "Webservices", they usually mean SOAP.
Re: XML-RPC or SOAP API?
Thanks Janne & Hannes!
I have created a special folder in my BookMarks to hold all the references you provide above. This way I can get back to the info and do some reading about it next week.
WP1
I have created a special folder in my BookMarks to hold all the references you provide above. This way I can get back to the info and do some reading about it next week.
WP1
Re: XML-RPC or SOAP API?
Blog tools usually support one of, or both of, two XML-RPC APIs. One is from blogger.com:
http://www.blogger.com/developers/api/1_docs/
The other extends the blogger APIs - the meta weblog API.
http://www.xmlrpc.com/metaWeblogApi
The tool/library that my package uses in order to execute remote API is the xmlrpc library from usefulinc:
http://xmlrpc.usefulinc.com/doc/
The API libraries for the blog tool are at:
cvs:/contrib/blog/blog/api.php
cvs:/contrib/blog/blog/weblogrpc.php
The usefulinc files are at:
cvs:/contrib/blog/blog/xmlrpc.inc
cvs:/contrib/blog/blog/xmlrpcs.inc
A web page I included with the project to test individual API calls can be found at:
cvs:/contrib/blog/blog/admin_api-test.php
http://www.blogger.com/developers/api/1_docs/
The other extends the blogger APIs - the meta weblog API.
http://www.xmlrpc.com/metaWeblogApi
The tool/library that my package uses in order to execute remote API is the xmlrpc library from usefulinc:
http://xmlrpc.usefulinc.com/doc/
The API libraries for the blog tool are at:
cvs:/contrib/blog/blog/api.php
cvs:/contrib/blog/blog/weblogrpc.php
The usefulinc files are at:
cvs:/contrib/blog/blog/xmlrpc.inc
cvs:/contrib/blog/blog/xmlrpcs.inc
A web page I included with the project to test individual API calls can be found at:
cvs:/contrib/blog/blog/admin_api-test.php