6:
Re: Re: Re: Advice on accesing External Tool from LAMS
By: Daniel Carlier
|
In response to 3 | 11/11/08 06:20 PM | ||
Hi Alicia,
When flash requests the progress information it makes a call to the backend which looks something like: http://localhost:8080/lams/monitoring/monitoring.do?method=getAllLearnersProgress&lessonID=34 This returns a wddx packet (in the form of xml) that contains the progress information for all the learners that have started the lesson. I've attached a sample wddx packet to this thread (all_learners_progress.xml) so that you can see the structure of the response. The two methods that will most likely be of interest are: public String getAllLearnersProgress(Long lessonID, Integer userID) These are defined in MonitoringService.java under the lams_montoring project. The first one gets the progress for all started learners and second for an individual learner. The LearnerProgress class is defined under the lams_common project. Hope this helps! Daniel Posted by Daniel Carlier |
||||
Attachments: |
|
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum