org.activemath.webapp.tutor.cgWSClient.mathcoachClient.standaloneClient
Class ClientUtil

java.lang.Object
  extended by org.activemath.webapp.tutor.cgWSClient.mathcoachClient.standaloneClient.ClientUtil

public class ClientUtil
extends Object


Field Summary
static String Axis2RepositoryLocation
           
static String cgNameSpace
           
static String cgNSprefix
           
static String ERROR_MSG_ELNM
           
static String imsManifestOutPutfile
           
static String Repository_URL
           
static String WebServiceBindingURL
           
static String xsltFile
           
 
Constructor Summary
ClientUtil()
           
 
Method Summary
static org.apache.axis2.client.ServiceClient blockingDualChannelCall(org.apache.axis2.addressing.EndpointReference targetEPR)
           
static org.apache.axis2.client.ServiceClient blockingOneChannelCall(org.apache.axis2.addressing.EndpointReference targetEPR)
           
static org.apache.axiom.om.OMElement getEchoOMElement()
           
static org.apache.axiom.om.OMElement getGenerateCourseWithLearnerKnowledgeMapRequest(String task, List contentIds, Map learnerKnowledge)
           
static org.apache.axiom.om.OMElement getGenerateCourseWithLearnerModelURLRequest(String task, String learnerModelURL, String userId, List contentIds)
           
static org.apache.axiom.om.OMElement getMetadataOntologyRequestOMElement()
           
static org.apache.axiom.om.OMElement getPingOMElement()
           
static org.apache.axiom.om.OMElement getRegisterRepositoryRequest(String name, String bindingURL, String OntologyURL, String mappingURL, String testContentId)
           
static org.apache.axiom.om.OMElement getTaskDefinitionRequestOMElement()
           
static org.apache.axiom.om.OMElement getUnRegisterRepositoryRequest(String bindingURL)
           
static org.apache.axis2.client.ServiceClient nonblockingDualChannelCall(org.apache.axis2.addressing.EndpointReference targetEPR)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cgNameSpace

public static final String cgNameSpace
See Also:
Constant Field Values

cgNSprefix

public static final String cgNSprefix
See Also:
Constant Field Values

ERROR_MSG_ELNM

public static final String ERROR_MSG_ELNM
See Also:
Constant Field Values

WebServiceBindingURL

public static final String WebServiceBindingURL
See Also:
Constant Field Values

Repository_URL

public static String Repository_URL

imsManifestOutPutfile

public static final String imsManifestOutPutfile
See Also:
Constant Field Values

xsltFile

public static final String xsltFile
See Also:
Constant Field Values

Axis2RepositoryLocation

public static final String Axis2RepositoryLocation
See Also:
Constant Field Values
Constructor Detail

ClientUtil

public ClientUtil()
Method Detail

getEchoOMElement

public static org.apache.axiom.om.OMElement getEchoOMElement()

getPingOMElement

public static org.apache.axiom.om.OMElement getPingOMElement()

getTaskDefinitionRequestOMElement

public static org.apache.axiom.om.OMElement getTaskDefinitionRequestOMElement()

getGenerateCourseWithLearnerModelURLRequest

public static org.apache.axiom.om.OMElement getGenerateCourseWithLearnerModelURLRequest(String task,
                                                                                        String learnerModelURL,
                                                                                        String userId,
                                                                                        List contentIds)

getGenerateCourseWithLearnerKnowledgeMapRequest

public static org.apache.axiom.om.OMElement getGenerateCourseWithLearnerKnowledgeMapRequest(String task,
                                                                                            List contentIds,
                                                                                            Map learnerKnowledge)

getRegisterRepositoryRequest

public static org.apache.axiom.om.OMElement getRegisterRepositoryRequest(String name,
                                                                         String bindingURL,
                                                                         String OntologyURL,
                                                                         String mappingURL,
                                                                         String testContentId)

getUnRegisterRepositoryRequest

public static org.apache.axiom.om.OMElement getUnRegisterRepositoryRequest(String bindingURL)

getMetadataOntologyRequestOMElement

public static org.apache.axiom.om.OMElement getMetadataOntologyRequestOMElement()

blockingOneChannelCall

public static org.apache.axis2.client.ServiceClient blockingOneChannelCall(org.apache.axis2.addressing.EndpointReference targetEPR)
                                                                    throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

blockingDualChannelCall

public static org.apache.axis2.client.ServiceClient blockingDualChannelCall(org.apache.axis2.addressing.EndpointReference targetEPR)
                                                                     throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault

nonblockingDualChannelCall

public static org.apache.axis2.client.ServiceClient nonblockingDualChannelCall(org.apache.axis2.addressing.EndpointReference targetEPR)
                                                                        throws org.apache.axis2.AxisFault
Parameters:
targetEPR -
Returns:
Throws:
org.apache.axis2.AxisFault