var WS_Teacher=function() {
WS_Teacher.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WS_Teacher.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WS_Teacher._staticInstance.get_path();},
GetTeacherFromID:function(teacherid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTeacherFromID',false,{teacherid:teacherid},succeededCallback,failedCallback,userContext); },
GetTeacher:function(teacherid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTeacher',false,{teacherid:teacherid},succeededCallback,failedCallback,userContext); },
GetTeachers:function(count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTeachers',false,{count:count},succeededCallback,failedCallback,userContext); },
GetAllTeacher:function(cur,num,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllTeacher',false,{cur:cur,num:num},succeededCallback,failedCallback,userContext); },
GetTeachersCount:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTeachersCount',false,{},succeededCallback,failedCallback,userContext); }}
WS_Teacher.registerClass('WS_Teacher',Sys.Net.WebServiceProxy);
WS_Teacher._staticInstance = new WS_Teacher();
WS_Teacher.set_path = function(value) { WS_Teacher._staticInstance.set_path(value); }
WS_Teacher.get_path = function() { return WS_Teacher._staticInstance.get_path(); }
WS_Teacher.set_timeout = function(value) { WS_Teacher._staticInstance.set_timeout(value); }
WS_Teacher.get_timeout = function() { return WS_Teacher._staticInstance.get_timeout(); }
WS_Teacher.set_defaultUserContext = function(value) { WS_Teacher._staticInstance.set_defaultUserContext(value); }
WS_Teacher.get_defaultUserContext = function() { return WS_Teacher._staticInstance.get_defaultUserContext(); }
WS_Teacher.set_defaultSucceededCallback = function(value) { WS_Teacher._staticInstance.set_defaultSucceededCallback(value); }
WS_Teacher.get_defaultSucceededCallback = function() { return WS_Teacher._staticInstance.get_defaultSucceededCallback(); }
WS_Teacher.set_defaultFailedCallback = function(value) { WS_Teacher._staticInstance.set_defaultFailedCallback(value); }
WS_Teacher.get_defaultFailedCallback = function() { return WS_Teacher._staticInstance.get_defaultFailedCallback(); }
WS_Teacher.set_path("/WS_Teacher.asmx");
WS_Teacher.GetTeacherFromID= function(teacherid,onSuccess,onFailed,userContext) {WS_Teacher._staticInstance.GetTeacherFromID(teacherid,onSuccess,onFailed,userContext); }
WS_Teacher.GetTeacher= function(teacherid,onSuccess,onFailed,userContext) {WS_Teacher._staticInstance.GetTeacher(teacherid,onSuccess,onFailed,userContext); }
WS_Teacher.GetTeachers= function(count,onSuccess,onFailed,userContext) {WS_Teacher._staticInstance.GetTeachers(count,onSuccess,onFailed,userContext); }
WS_Teacher.GetAllTeacher= function(cur,num,onSuccess,onFailed,userContext) {WS_Teacher._staticInstance.GetAllTeacher(cur,num,onSuccess,onFailed,userContext); }
WS_Teacher.GetTeachersCount= function(onSuccess,onFailed,userContext) {WS_Teacher._staticInstance.GetTeachersCount(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataTable) === 'undefined') {
System.Data.DataTable=gtc("System.Data.DataTable");
System.Data.DataTable.registerClass('System.Data.DataTable');
}
