var MAGIservice=function() {
MAGIservice.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MAGIservice.prototype={
courseIsCompleted:function(enrollmentID,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'courseIsCompleted',false,{enrollmentID:enrollmentID},succeededCallback,failedCallback,userContext); },
validateProctor:function(userName,userPass,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'validateProctor',false,{userName:userName,userPass:userPass},succeededCallback,failedCallback,userContext); },
putProctor:function(proctorObj,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'putProctor',false,{proctorObj:proctorObj},succeededCallback,failedCallback,userContext); },
getContent:function(pageURI,curState,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'getContent',false,{pageURI:pageURI,curState:curState},succeededCallback,failedCallback,userContext); },
msgBoardHotTopix:function(licTypes,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'msgBoardHotTopix',false,{licTypes:licTypes},succeededCallback,failedCallback,userContext); },
AddToCart:function(htmlID,studentID,myCartId,itemID,itemAmount,itemType,packageID,seminarID,enrollmentID,LicenseTypeID,State,PartnershipID,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'AddToCart',false,{htmlID:htmlID,studentID:studentID,myCartId:myCartId,itemID:itemID,itemAmount:itemAmount,itemType:itemType,packageID:packageID,seminarID:seminarID,enrollmentID:enrollmentID,LicenseTypeID:LicenseTypeID,State:State,PartnershipID:PartnershipID},succeededCallback,failedCallback,userContext); },
infoCapture:function(info,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'infoCapture',false,{info:info},succeededCallback,failedCallback,userContext); },
TestCart:function(Number,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'TestCart',false,{Number:Number},succeededCallback,failedCallback,userContext); },
GetSearchCount:function(States,LicTypes,instructor,association,searchtype,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetSearchCount',false,{States:States,LicTypes:LicTypes,instructor:instructor,association:association,searchtype:searchtype},succeededCallback,failedCallback,userContext); },
GetCourseStatesAndPrice:function(CourseID,License,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetCourseStatesAndPrice',false,{CourseID:CourseID,License:License},succeededCallback,failedCallback,userContext); },
GetHammackPackageStatePrices:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetHammackPackageStatePrices',false,{},succeededCallback,failedCallback,userContext); },
GetAllSeminarLocations:function(succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetAllSeminarLocations',false,{},succeededCallback,failedCallback,userContext); },
GetAllSeminarLocationsForDateRange:function(StartDate,EndDate,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetAllSeminarLocationsForDateRange',false,{StartDate:StartDate,EndDate:EndDate},succeededCallback,failedCallback,userContext); },
GetLocationSeminars:function(HotelAndFacilityID,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetLocationSeminars',false,{HotelAndFacilityID:HotelAndFacilityID},succeededCallback,failedCallback,userContext); },
GetLocationSeminarsNoID:function(Seminar,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetLocationSeminarsNoID',false,{Seminar:Seminar},succeededCallback,failedCallback,userContext); },
GetLocationSeminarsForDateRange:function(HotelAndFacilityID,StartDate,EndDate,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetLocationSeminarsForDateRange',false,{HotelAndFacilityID:HotelAndFacilityID,StartDate:StartDate,EndDate:EndDate},succeededCallback,failedCallback,userContext); },
GetLocationSeminarsForDateRangeNoID:function(Seminar,StartDate,EndDate,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetLocationSeminarsForDateRangeNoID',false,{Seminar:Seminar,StartDate:StartDate,EndDate:EndDate},succeededCallback,failedCallback,userContext); },
GetSeminarsClasses:function(SeminarID,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'GetSeminarsClasses',false,{SeminarID:SeminarID},succeededCallback,failedCallback,userContext); },
UpdateAllSeminarLocations:function(HotelFacilityID,Latitude,Longitude,succeededCallback, failedCallback, userContext) {
return this._invoke(MAGIservice.get_path(), 'UpdateAllSeminarLocations',false,{HotelFacilityID:HotelFacilityID,Latitude:Latitude,Longitude:Longitude},succeededCallback,failedCallback,userContext); }}
MAGIservice.registerClass('MAGIservice',Sys.Net.WebServiceProxy);
MAGIservice._staticInstance = new MAGIservice();
MAGIservice.set_path = function(value) { MAGIservice._staticInstance._path = value; }
MAGIservice.get_path = function() { return MAGIservice._staticInstance._path; }
MAGIservice.set_timeout = function(value) { MAGIservice._staticInstance._timeout = value; }
MAGIservice.get_timeout = function() { return MAGIservice._staticInstance._timeout; }
MAGIservice.set_defaultUserContext = function(value) { MAGIservice._staticInstance._userContext = value; }
MAGIservice.get_defaultUserContext = function() { return MAGIservice._staticInstance._userContext; }
MAGIservice.set_defaultSucceededCallback = function(value) { MAGIservice._staticInstance._succeeded = value; }
MAGIservice.get_defaultSucceededCallback = function() { return MAGIservice._staticInstance._succeeded; }
MAGIservice.set_defaultFailedCallback = function(value) { MAGIservice._staticInstance._failed = value; }
MAGIservice.get_defaultFailedCallback = function() { return MAGIservice._staticInstance._failed; }
MAGIservice.set_path("/MP/MAGIservice.asmx");
MAGIservice.courseIsCompleted= function(enrollmentID,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.courseIsCompleted(enrollmentID,onSuccess,onFailed,userContext); }
MAGIservice.validateProctor= function(userName,userPass,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.validateProctor(userName,userPass,onSuccess,onFailed,userContext); }
MAGIservice.putProctor= function(proctorObj,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.putProctor(proctorObj,onSuccess,onFailed,userContext); }
MAGIservice.getContent= function(pageURI,curState,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.getContent(pageURI,curState,onSuccess,onFailed,userContext); }
MAGIservice.msgBoardHotTopix= function(licTypes,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.msgBoardHotTopix(licTypes,onSuccess,onFailed,userContext); }
MAGIservice.AddToCart= function(htmlID,studentID,myCartId,itemID,itemAmount,itemType,packageID,seminarID,enrollmentID,LicenseTypeID,State,PartnershipID,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.AddToCart(htmlID,studentID,myCartId,itemID,itemAmount,itemType,packageID,seminarID,enrollmentID,LicenseTypeID,State,PartnershipID,onSuccess,onFailed,userContext); }
MAGIservice.infoCapture= function(info,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.infoCapture(info,onSuccess,onFailed,userContext); }
MAGIservice.TestCart= function(Number,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.TestCart(Number,onSuccess,onFailed,userContext); }
MAGIservice.GetSearchCount= function(States,LicTypes,instructor,association,searchtype,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetSearchCount(States,LicTypes,instructor,association,searchtype,onSuccess,onFailed,userContext); }
MAGIservice.GetCourseStatesAndPrice= function(CourseID,License,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetCourseStatesAndPrice(CourseID,License,onSuccess,onFailed,userContext); }
MAGIservice.GetHammackPackageStatePrices= function(onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetHammackPackageStatePrices(onSuccess,onFailed,userContext); }
MAGIservice.GetAllSeminarLocations= function(onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetAllSeminarLocations(onSuccess,onFailed,userContext); }
MAGIservice.GetAllSeminarLocationsForDateRange= function(StartDate,EndDate,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetAllSeminarLocationsForDateRange(StartDate,EndDate,onSuccess,onFailed,userContext); }
MAGIservice.GetLocationSeminars= function(HotelAndFacilityID,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetLocationSeminars(HotelAndFacilityID,onSuccess,onFailed,userContext); }
MAGIservice.GetLocationSeminarsNoID= function(Seminar,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetLocationSeminarsNoID(Seminar,onSuccess,onFailed,userContext); }
MAGIservice.GetLocationSeminarsForDateRange= function(HotelAndFacilityID,StartDate,EndDate,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetLocationSeminarsForDateRange(HotelAndFacilityID,StartDate,EndDate,onSuccess,onFailed,userContext); }
MAGIservice.GetLocationSeminarsForDateRangeNoID= function(Seminar,StartDate,EndDate,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetLocationSeminarsForDateRangeNoID(Seminar,StartDate,EndDate,onSuccess,onFailed,userContext); }
MAGIservice.GetSeminarsClasses= function(SeminarID,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.GetSeminarsClasses(SeminarID,onSuccess,onFailed,userContext); }
MAGIservice.UpdateAllSeminarLocations= function(HotelFacilityID,Latitude,Longitude,onSuccess,onFailed,userContext) {MAGIservice._staticInstance.UpdateAllSeminarLocations(HotelFacilityID,Latitude,Longitude,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(oneProctor) === 'undefined') {
var oneProctor=gtc("oneProctor");
oneProctor.registerClass('oneProctor');
}
if (typeof(contentBase) === 'undefined') {
var contentBase=gtc("contentBase");
contentBase.registerClass('contentBase');
}
if (typeof(forumTopic) === 'undefined') {
var forumTopic=gtc("forumTopic");
forumTopic.registerClass('forumTopic');
}
if (typeof(Location) === 'undefined') {
var Location=gtc("Location");
Location.registerClass('Location');
}
if (typeof(Seminar) === 'undefined') {
var Seminar=gtc("Seminar");
Seminar.registerClass('Seminar');
}
if (typeof(SeminarClass) === 'undefined') {
var SeminarClass=gtc("SeminarClass");
SeminarClass.registerClass('SeminarClass');
}
if (typeof(shoppingCart_CartItemType) === 'undefined') {
shoppingCart_CartItemType = function() { throw Error.invalidOperation(); }
shoppingCart_CartItemType.prototype = {OnlineCourse: 0,Certificate: 1,Package: 2,Seminar: 3,LiveCourse: 4,Material: 5,Discount: 6,AddedCertificate: 7,BasePackage: 8,Product: 9,Webinar: 10}
shoppingCart_CartItemType.registerEnum('shoppingCart_CartItemType', true);
}

