To post messages, you must join the IMS Public Community (free).   |   You also can also join the Common Cartridge Alliance.
IMS GLC Public Forums and Resources
Decrease font size
Increase font size
Topic Title: IMS LTI Provider for Moodle
Topic Summary:
Created On: 01/09/2012 03:09 PM
Status: Post and Reply
Linear : Threading : Single : Branch
Topic Tools Topic Tools
View topic in raw text format. Print this topic.
 01/09/2012 03:09 PM
User is offline View Users Profile Print this message

Author Icon
CharlesSeverance

Posts: 50
Joined: 01/23/2009

There is a new Moodle extension adding IMS LTI Provider to Moodle available at

http://moodle.org/plugins/view...gin=local_ltiprovider

Here is a demonstration of it in action:

http://vimeo.com/34752767

For IMS Alliance members, we have it installed on IMS Developer servers for folks to test.
 06/28/2012 07:34 AM
User is offline View Users Profile Print this message

Author Icon
JamesG

Posts: 1
Joined: 06/28/2012

Hi Charles, I am attempting to develop an LTI client for moodle in Java so we can connect Moodle to an ESB. I have the moodle LTI provider plugin up and running, and the basic LTI java impl from IMS DEV running on tomcat. I can use the lms JSP to SSO to Moodle and enrol to a course. When I add a grade to a course and run the cron job I am expecting an outbound LTI message to be sent containing the grade information to be sent to the /service servlet. I am struggling to see in moodle where you set the outbound URL for this message to point it to my tomcat server. As you have used the LTI provider to integrate with an LTI client, I was wondering if you could give me some pointers?
 06/29/2012 02:17 AM
User is offline View Users Profile Print this message

Author Icon
drchuck

Posts: 11
Joined: 06/22/2009

James - The sample java code from ims-dev is only 1.0 - so it does not accept grades and as such does not send the necessary service endpoints and id to allow Moodle to send back grades. So Juan's Moodle provider is working perfectly as it refuses to send grades back because there is nowhere to send them

If you want to see grades flowing back a little bit, you could launch from:

http://www.imsglobal.org/devel...LTI/test/v1p1/lms.php

That PHP code does include the end points and necessary IDs to send grades back. Of course it does not store them so that is not much fun.

If you want a little more excitement you could stand up a Sakai and play with it from Sakai 2.9 or later. It does the whole shebang with LTI 1.1 and passes graded back and forth nicely.

In addition, you can look at the source code of the Sakai servlet that receives the grade requests here:

https://source.sakaiproject.org/svn/basiclti/trunk/basiclti-blis/src/java/org/sakaiproject/blti/ServiceServlet.java

What is kind of fun is that my Sakai code uses the exact same IMS POX request object:

import org.imsglobal.pox.IMSPOXRequest;

So much of the code will be familiar to you if you used the IMS sample code.

Hope this helps.
 06/29/2012 02:19 AM
User is offline View Users Profile Print this message

Author Icon
drchuck

Posts: 11
Joined: 06/22/2009

And James - one more thing - the Sakai code is Copyright with the ECL license so it is easily reused in part or in whole. The IMS code is Apache. So you can take them as sample code to help you build your own code.
 11/17/2012 01:32 PM
User is offline View Users Profile Print this message

Author Icon
schoolfort

Posts: 1
Joined: 11/16/2012

Forgive me if this is a basic question, I'm not really a techie. Came across this forum and though it could help. We have moodle system running our online secondary education courses in the UK (http://www.schoolfort.com). We want to approach local education authorities about distribution of our courses to local schools in their coverage, but have been told that as a first step we need to implement single sign on. Does LTI extension incorporate that? If you could point me in the right direction would be appreciated. Thanks.
Statistics
2936 users are registered to the IMS GLC Public Forums and Resources forum.
There are currently 0 users logged in.

FuseTalk Standard Edition v3.2 - © 1999-2013 FuseTalk Inc. All rights reserved.

By participating in the forum, you agree to the abide by forum rules. You can view the IMS GLC Privacy Statement