Forum .LRN Q&A: XML-RPC Procs for OpenACS/dotLRN

Collapse
Posted by Nima Mazloumi on
Hi all,

I don't know if someone has done this before, but there could be many useful procs that we could define for OpenACS and dotLRN via XML-RPC.

Regardless of their names I have for instance defined:

- authentication.user to be used for external applications to verify that a user exists
- authentication.newIncrement to be used for external systems that integrated their users with openacs to upload an IMS Enterprise 1.1 XML file

Is the community interested in these rpcs? Maybe there are standards for these type of things we can comply to. Are there conventions in OpenACS how RPCs should be defined?

Greetings,
Nima

Collapse
Posted by Malte Sussdorff on
This is highly useful and no standard way exists at the moment, so feel free to draft up a standard. I'd envision a /packages/mypak/tcl/mypak-rpc.tcl file where all XML-RPC related code is stored for this package. The xmlrpc handling package should then load the mypak-rpc files and provide the functions at the designated URLs. Hope this makes sense.