org.activemath.webapp.tutor.cgWebService
Class CourseGeneratorWebService

java.lang.Object
  extended by org.activemath.webapp.tutor.cgWebService.CourseGeneratorWebService

public class CourseGeneratorWebService
extends Object

This is the Servlet Class that handles the request from the client.


Field Summary
protected static Category log
           
 
Constructor Summary
CourseGeneratorWebService()
           
 
Method Summary
 org.apache.axiom.om.OMElement generateCourseWithLearnerKnowledgeMap(org.apache.axiom.om.OMElement request)
          Generates a course with according to the arguments given in the OMElement request.
 org.apache.axiom.om.OMElement generateCourseWithLearnerModelURL(org.apache.axiom.om.OMElement request)
          Generates a course with according to the arguments given in the OMElement request.
 org.apache.axiom.om.OMElement getTaskDefinition(org.apache.axiom.om.OMElement request)
          Return the xml stream parsed as an OMElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static Category log
Constructor Detail

CourseGeneratorWebService

public CourseGeneratorWebService()
Method Detail

getTaskDefinition

public org.apache.axiom.om.OMElement getTaskDefinition(org.apache.axiom.om.OMElement request)
Return the xml stream parsed as an OMElement. The given parameter is ignored, it's only a placeholder because of the bug in Axis2, which cause null pointer AxisFault by non-parameter method.

Parameters:
request - ignored
Returns:
the OMElement which represent the xml file taskList.xml
Throws:
org.apache.axis2.AxisFault
XMLStreamException

generateCourseWithLearnerModelURL

public org.apache.axiom.om.OMElement generateCourseWithLearnerModelURL(org.apache.axiom.om.OMElement request)
Generates a course with according to the arguments given in the OMElement request. The arguments of the request are

Parameters:
request -
Returns:
course with SCORM-Manifest format in an OMElement

generateCourseWithLearnerKnowledgeMap

public org.apache.axiom.om.OMElement generateCourseWithLearnerKnowledgeMap(org.apache.axiom.om.OMElement request)
Generates a course with according to the arguments given in the OMElement request. The arguments of the request are

Parameters:
request -
Returns:
course with SCORM-Manifest format in an OMElement