Type.registerNamespace('NetcampusWeb.WebService');
NetcampusWeb.WebService.WebService=function() {
NetcampusWeb.WebService.WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NetcampusWeb.WebService.WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return NetcampusWeb.WebService.WebService._staticInstance.get_path();},
ping:function(Hash,Location,responseString,succeededCallback, failedCallback, userContext) {
/// <param name="Hash" type="String">System.String</param>
/// <param name="Location" type="String">System.String</param>
/// <param name="responseString" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'ping',false,{Hash:Hash,Location:Location,responseString:responseString},succeededCallback,failedCallback,userContext); },
testMethod:function(input,succeededCallback, failedCallback, userContext) {
/// <param name="input" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'testMethod',false,{input:input},succeededCallback,failedCallback,userContext); },
TestRadioAnswer:function(ID,SID,succeededCallback, failedCallback, userContext) {
/// <param name="ID" type="String">System.String</param>
/// <param name="SID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TestRadioAnswer',false,{ID:ID,SID:SID},succeededCallback,failedCallback,userContext); },
TestHotspotAnswer:function(ID,X,Y,succeededCallback, failedCallback, userContext) {
/// <param name="ID" type="String">System.String</param>
/// <param name="X" type="String">System.String</param>
/// <param name="Y" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TestHotspotAnswer',false,{ID:ID,X:X,Y:Y},succeededCallback,failedCallback,userContext); },
TestCheckboxAnswer:function(ID,SID,succeededCallback, failedCallback, userContext) {
/// <param name="ID" type="String">System.String</param>
/// <param name="SID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TestCheckboxAnswer',false,{ID:ID,SID:SID},succeededCallback,failedCallback,userContext); },
StudyPortalActivityStatusSwitch:function(StudyPlanActivityID,UserStudyPortalSubscriptionID,prevID,nextID,clientID,succeededCallback, failedCallback, userContext) {
/// <param name="StudyPlanActivityID" type="Number">System.Int32</param>
/// <param name="UserStudyPortalSubscriptionID" type="Number">System.Int32</param>
/// <param name="prevID" type="Number">System.Int32</param>
/// <param name="nextID" type="Number">System.Int32</param>
/// <param name="clientID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'StudyPortalActivityStatusSwitch',false,{StudyPlanActivityID:StudyPlanActivityID,UserStudyPortalSubscriptionID:UserStudyPortalSubscriptionID,prevID:prevID,nextID:nextID,clientID:clientID},succeededCallback,failedCallback,userContext); }}
NetcampusWeb.WebService.WebService.registerClass('NetcampusWeb.WebService.WebService',Sys.Net.WebServiceProxy);
NetcampusWeb.WebService.WebService._staticInstance = new NetcampusWeb.WebService.WebService();
NetcampusWeb.WebService.WebService.set_path = function(value) {
NetcampusWeb.WebService.WebService._staticInstance.set_path(value); }
NetcampusWeb.WebService.WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return NetcampusWeb.WebService.WebService._staticInstance.get_path();}
NetcampusWeb.WebService.WebService.set_timeout = function(value) {
NetcampusWeb.WebService.WebService._staticInstance.set_timeout(value); }
NetcampusWeb.WebService.WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return NetcampusWeb.WebService.WebService._staticInstance.get_timeout(); }
NetcampusWeb.WebService.WebService.set_defaultUserContext = function(value) { 
NetcampusWeb.WebService.WebService._staticInstance.set_defaultUserContext(value); }
NetcampusWeb.WebService.WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return NetcampusWeb.WebService.WebService._staticInstance.get_defaultUserContext(); }
NetcampusWeb.WebService.WebService.set_defaultSucceededCallback = function(value) { 
 NetcampusWeb.WebService.WebService._staticInstance.set_defaultSucceededCallback(value); }
NetcampusWeb.WebService.WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return NetcampusWeb.WebService.WebService._staticInstance.get_defaultSucceededCallback(); }
NetcampusWeb.WebService.WebService.set_defaultFailedCallback = function(value) { 
NetcampusWeb.WebService.WebService._staticInstance.set_defaultFailedCallback(value); }
NetcampusWeb.WebService.WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return NetcampusWeb.WebService.WebService._staticInstance.get_defaultFailedCallback(); }
NetcampusWeb.WebService.WebService.set_enableJsonp = function(value) { NetcampusWeb.WebService.WebService._staticInstance.set_enableJsonp(value); }
NetcampusWeb.WebService.WebService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return NetcampusWeb.WebService.WebService._staticInstance.get_enableJsonp(); }
NetcampusWeb.WebService.WebService.set_jsonpCallbackParameter = function(value) { NetcampusWeb.WebService.WebService._staticInstance.set_jsonpCallbackParameter(value); }
NetcampusWeb.WebService.WebService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return NetcampusWeb.WebService.WebService._staticInstance.get_jsonpCallbackParameter(); }
NetcampusWeb.WebService.WebService.set_path("/web/WebService/WebService.asmx");
NetcampusWeb.WebService.WebService.ping= function(Hash,Location,responseString,onSuccess,onFailed,userContext) {
/// <param name="Hash" type="String">System.String</param>
/// <param name="Location" type="String">System.String</param>
/// <param name="responseString" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
NetcampusWeb.WebService.WebService._staticInstance.ping(Hash,Location,responseString,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.WebService.testMethod= function(input,onSuccess,onFailed,userContext) {
/// <param name="input" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
NetcampusWeb.WebService.WebService._staticInstance.testMethod(input,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.WebService.TestRadioAnswer= function(ID,SID,onSuccess,onFailed,userContext) {
/// <param name="ID" type="String">System.String</param>
/// <param name="SID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
NetcampusWeb.WebService.WebService._staticInstance.TestRadioAnswer(ID,SID,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.WebService.TestHotspotAnswer= function(ID,X,Y,onSuccess,onFailed,userContext) {
/// <param name="ID" type="String">System.String</param>
/// <param name="X" type="String">System.String</param>
/// <param name="Y" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
NetcampusWeb.WebService.WebService._staticInstance.TestHotspotAnswer(ID,X,Y,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.WebService.TestCheckboxAnswer= function(ID,SID,onSuccess,onFailed,userContext) {
/// <param name="ID" type="String">System.String</param>
/// <param name="SID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
NetcampusWeb.WebService.WebService._staticInstance.TestCheckboxAnswer(ID,SID,onSuccess,onFailed,userContext); }
NetcampusWeb.WebService.WebService.StudyPortalActivityStatusSwitch= function(StudyPlanActivityID,UserStudyPortalSubscriptionID,prevID,nextID,clientID,onSuccess,onFailed,userContext) {
/// <param name="StudyPlanActivityID" type="Number">System.Int32</param>
/// <param name="UserStudyPortalSubscriptionID" type="Number">System.Int32</param>
/// <param name="prevID" type="Number">System.Int32</param>
/// <param name="nextID" type="Number">System.Int32</param>
/// <param name="clientID" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
NetcampusWeb.WebService.WebService._staticInstance.StudyPortalActivityStatusSwitch(StudyPlanActivityID,UserStudyPortalSubscriptionID,prevID,nextID,clientID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(NetcampusWeb.WebService.ResponseJSON) === 'undefined') {
NetcampusWeb.WebService.ResponseJSON=gtc("NetcampusWeb.WebService.ResponseJSON");
NetcampusWeb.WebService.ResponseJSON.registerClass('NetcampusWeb.WebService.ResponseJSON');
}
if (typeof(NetcampusWeb.WebService.ResponseJSON_SPU) === 'undefined') {
NetcampusWeb.WebService.ResponseJSON_SPU=gtc("NetcampusWeb.WebService.ResponseJSON_SPU");
NetcampusWeb.WebService.ResponseJSON_SPU.registerClass('NetcampusWeb.WebService.ResponseJSON_SPU');
}

