LTI grade sendback

157 views
Skip to first unread message

SARTHAK CHHILLAR

unread,
Jun 17, 2016, 1:24:47 PM6/17/16
to General Open edX discussion

I am trying to send grades back to edx using lti tool provider. The first problem i am facing is the parameters "lis_outcome_service_url" , "source did " contain a localhost address in them , instead of the server address .

variables are as follows : -

lis_outcome_service_url

https://localhost/courses/course-v1:IITBombay+LTI101x+2016_T1/xblock/block-v1:IITBombay+LTI101x+2016_T1+type@lti_consumer+block@ab52f0554c85440286cdcf3cdfb3612e/handler_noauth/outcome_service_handler

lis_result_sourcedid

course-v1%3AIITBombay%2BLTI101x%2B2016_T1:localhost-ab52f0554c85440286cdcf3cdfb3612e:742ec4e56ee327671b5bcdf79887e6bd

Even after I made the code to change the outcome service url to

Modified lis_outcome_service_url

http://10.105.24.139/courses/course-v1:IITBombay+LTI101x+2016_T1/xblock/block-v1:IITBombay+LTI101x+2016_T1+type@lti_consumer+block@ab52f0554c85440286cdcf3cdfb3612e/handler_noauth/outcome_service_handler

Now , i am able to send the request to this address (http status code : 200 ). But still the score is not received by the edx . No changes appear on the edx platform .

The tool provider is able to send score to other lms (tested on lti consumer emulator by http://ltiapps.net /test/tc.php)

I think edx platform needs some more configuration . please specify what all do i need to configure.


Aparna P

unread,
Jun 30, 2016, 6:40:06 AM6/30/16
to General Open edX discussion
Worked with Sarthak on this one. Just to update. We were able to get this to work.

The missing piece was that we had missed setting <imsx_POXHeader><imsx_messageIdentifier> in our external LTI application. Refer: https://github.com/edx/edx-platform/blob/master/common/lib/xmodule/xmodule/tests/test_lti_unit.py

Bye,
Aparna
Reply all
Reply to author
Forward
0 new messages