var SchoolNameService=function() {
SchoolNameService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
SchoolNameService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return SchoolNameService._staticInstance.get_path();},
GetSchoolNames:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSchoolNames',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
IsSchoolNameValid:function(schoolName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsSchoolNameValid',false,{schoolName:schoolName},succeededCallback,failedCallback,userContext); },
GetWebID:function(schoolName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetWebID',false,{schoolName:schoolName},succeededCallback,failedCallback,userContext); }}
SchoolNameService.registerClass('SchoolNameService',Sys.Net.WebServiceProxy);
SchoolNameService._staticInstance = new SchoolNameService();
SchoolNameService.set_path = function(value) { SchoolNameService._staticInstance.set_path(value); }
SchoolNameService.get_path = function() { return SchoolNameService._staticInstance.get_path(); }
SchoolNameService.set_timeout = function(value) { SchoolNameService._staticInstance.set_timeout(value); }
SchoolNameService.get_timeout = function() { return SchoolNameService._staticInstance.get_timeout(); }
SchoolNameService.set_defaultUserContext = function(value) { SchoolNameService._staticInstance.set_defaultUserContext(value); }
SchoolNameService.get_defaultUserContext = function() { return SchoolNameService._staticInstance.get_defaultUserContext(); }
SchoolNameService.set_defaultSucceededCallback = function(value) { SchoolNameService._staticInstance.set_defaultSucceededCallback(value); }
SchoolNameService.get_defaultSucceededCallback = function() { return SchoolNameService._staticInstance.get_defaultSucceededCallback(); }
SchoolNameService.set_defaultFailedCallback = function(value) { SchoolNameService._staticInstance.set_defaultFailedCallback(value); }
SchoolNameService.get_defaultFailedCallback = function() { return SchoolNameService._staticInstance.get_defaultFailedCallback(); }
SchoolNameService.set_path("/AutoCompleteService/SchoolNameService.asmx");
SchoolNameService.GetSchoolNames= function(prefixText,onSuccess,onFailed,userContext) {SchoolNameService._staticInstance.GetSchoolNames(prefixText,onSuccess,onFailed,userContext); }
SchoolNameService.IsSchoolNameValid= function(schoolName,onSuccess,onFailed,userContext) {SchoolNameService._staticInstance.IsSchoolNameValid(schoolName,onSuccess,onFailed,userContext); }
SchoolNameService.GetWebID= function(schoolName,onSuccess,onFailed,userContext) {SchoolNameService._staticInstance.GetWebID(schoolName,onSuccess,onFailed,userContext); }
