Type.registerNamespace('iLang.Web.WebServices');
iLang.Web.WebServices.SampleLesson=function() {
iLang.Web.WebServices.SampleLesson.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
iLang.Web.WebServices.SampleLesson.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return iLang.Web.WebServices.SampleLesson._staticInstance.get_path();},
Enroll:function(OrganizationId,CourseId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Enroll',false,{OrganizationId:OrganizationId,CourseId:CourseId},succeededCallback,failedCallback,userContext); }}
iLang.Web.WebServices.SampleLesson.registerClass('iLang.Web.WebServices.SampleLesson',Sys.Net.WebServiceProxy);
iLang.Web.WebServices.SampleLesson._staticInstance = new iLang.Web.WebServices.SampleLesson();
iLang.Web.WebServices.SampleLesson.set_path = function(value) { iLang.Web.WebServices.SampleLesson._staticInstance.set_path(value); }
iLang.Web.WebServices.SampleLesson.get_path = function() { return iLang.Web.WebServices.SampleLesson._staticInstance.get_path(); }
iLang.Web.WebServices.SampleLesson.set_timeout = function(value) { iLang.Web.WebServices.SampleLesson._staticInstance.set_timeout(value); }
iLang.Web.WebServices.SampleLesson.get_timeout = function() { return iLang.Web.WebServices.SampleLesson._staticInstance.get_timeout(); }
iLang.Web.WebServices.SampleLesson.set_defaultUserContext = function(value) { iLang.Web.WebServices.SampleLesson._staticInstance.set_defaultUserContext(value); }
iLang.Web.WebServices.SampleLesson.get_defaultUserContext = function() { return iLang.Web.WebServices.SampleLesson._staticInstance.get_defaultUserContext(); }
iLang.Web.WebServices.SampleLesson.set_defaultSucceededCallback = function(value) { iLang.Web.WebServices.SampleLesson._staticInstance.set_defaultSucceededCallback(value); }
iLang.Web.WebServices.SampleLesson.get_defaultSucceededCallback = function() { return iLang.Web.WebServices.SampleLesson._staticInstance.get_defaultSucceededCallback(); }
iLang.Web.WebServices.SampleLesson.set_defaultFailedCallback = function(value) { iLang.Web.WebServices.SampleLesson._staticInstance.set_defaultFailedCallback(value); }
iLang.Web.WebServices.SampleLesson.get_defaultFailedCallback = function() { return iLang.Web.WebServices.SampleLesson._staticInstance.get_defaultFailedCallback(); }
iLang.Web.WebServices.SampleLesson.set_enableJsonp = function(value) { iLang.Web.WebServices.SampleLesson._staticInstance.set_enableJsonp(value); }
iLang.Web.WebServices.SampleLesson.get_enableJsonp = function() { return iLang.Web.WebServices.SampleLesson._staticInstance.get_enableJsonp(); }
iLang.Web.WebServices.SampleLesson.set_jsonpCallbackParameter = function(value) { iLang.Web.WebServices.SampleLesson._staticInstance.set_jsonpCallbackParameter(value); }
iLang.Web.WebServices.SampleLesson.get_jsonpCallbackParameter = function() { return iLang.Web.WebServices.SampleLesson._staticInstance.get_jsonpCallbackParameter(); }
iLang.Web.WebServices.SampleLesson.set_path("/SampleLesson/SampleLesson.asmx");
iLang.Web.WebServices.SampleLesson.Enroll= function(OrganizationId,CourseId,onSuccess,onFailed,userContext) {iLang.Web.WebServices.SampleLesson._staticInstance.Enroll(OrganizationId,CourseId,onSuccess,onFailed,userContext); }

