Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edx integration problem #2

Open
ionm opened this issue May 28, 2014 · 4 comments
Open

Edx integration problem #2

ionm opened this issue May 28, 2014 · 4 comments

Comments

@ionm
Copy link

ionm commented May 28, 2014

Hi,

I am trying to use this example with edx but when I submit the grade I get this error: "Your score was not recorded: Request body XML parsing error: list index out of range". I've tried to compare instructure/ims-lti to the edx specifications but I couldn't find anything.

Would you have any advices?

@wbhumphrey
Copy link
Contributor

what values are you returning?

@ionm
Copy link
Author

ionm commented May 28, 2014

I just tried out the example without making any changes. I've introduced 0.5 or 1.
The lti_tool_provider_example seems to work fine with the lti_tool_consumer_example.

@wbhumphrey
Copy link
Contributor

Do you have any example XML that does work in edx?

@ionm
Copy link
Author

ionm commented May 28, 2014

I haven't tried this out yet, but from the edx specifications it should look like this:

Example of request body from LTI provider::

<?xml version = "1.0" encoding = "UTF-8"?>
<imsx_POXEnvelopeRequest xmlns = "some_link (may be not required)">
<imsx_POXHeader>
<imsx_POXRequestHeaderInfo>
<imsx_version>V1.0</imsx_version>
<imsx_messageIdentifier>528243ba5241b</imsx_messageIdentifier>
</imsx_POXRequestHeaderInfo>
</imsx_POXHeader>
<imsx_POXBody>
<replaceResultRequest>
<resultRecord>
<sourcedGUID>
<sourcedId>feb-123-456-2929::28883</sourcedId>
</sourcedGUID>
<result>
<resultScore>
<language>en-us</language>
<textString>0.4</textString>
</resultScore>
</result>
</resultRecord>
</replaceResultRequest>
</imsx_POXBody>
</imsx_POXEnvelopeRequest>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants