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 On Friday, June 17, 2016 at 10:54:47 PM UTC+5:30, SARTHAK CHHILLAR wrote: > > 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. > > -- You received this message because you are subscribed to the Google Groups "General Open edX discussion" group. To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/1a81cc45-98ed-4814-a1d5-b33972c1ece7%40googlegroups.com.
