var Demo3WebService=function() {
Demo3WebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Demo3WebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Demo3WebService._staticInstance.get_path();},
GetCitySuggestions:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</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(), 'GetCitySuggestions',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetUniversitySuggestions:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</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(), 'GetUniversitySuggestions',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); },
GetSearchesSuggestions:function(keyword,usePaging,pageIndex,pageSize,succeededCallback, failedCallback, userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</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(), 'GetSearchesSuggestions',false,{keyword:keyword,usePaging:usePaging,pageIndex:pageIndex,pageSize:pageSize},succeededCallback,failedCallback,userContext); }}
Demo3WebService.registerClass('Demo3WebService',Sys.Net.WebServiceProxy);
Demo3WebService._staticInstance = new Demo3WebService();
Demo3WebService.set_path = function(value) {
Demo3WebService._staticInstance.set_path(value); }
Demo3WebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Demo3WebService._staticInstance.get_path();}
Demo3WebService.set_timeout = function(value) {
Demo3WebService._staticInstance.set_timeout(value); }
Demo3WebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Demo3WebService._staticInstance.get_timeout(); }
Demo3WebService.set_defaultUserContext = function(value) { 
Demo3WebService._staticInstance.set_defaultUserContext(value); }
Demo3WebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Demo3WebService._staticInstance.get_defaultUserContext(); }
Demo3WebService.set_defaultSucceededCallback = function(value) { 
 Demo3WebService._staticInstance.set_defaultSucceededCallback(value); }
Demo3WebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Demo3WebService._staticInstance.get_defaultSucceededCallback(); }
Demo3WebService.set_defaultFailedCallback = function(value) { 
Demo3WebService._staticInstance.set_defaultFailedCallback(value); }
Demo3WebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Demo3WebService._staticInstance.get_defaultFailedCallback(); }
Demo3WebService.set_enableJsonp = function(value) { Demo3WebService._staticInstance.set_enableJsonp(value); }
Demo3WebService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return Demo3WebService._staticInstance.get_enableJsonp(); }
Demo3WebService.set_jsonpCallbackParameter = function(value) { Demo3WebService._staticInstance.set_jsonpCallbackParameter(value); }
Demo3WebService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return Demo3WebService._staticInstance.get_jsonpCallbackParameter(); }
Demo3WebService.set_path("/Demo3WebService.asmx");
Demo3WebService.GetCitySuggestions= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</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>
Demo3WebService._staticInstance.GetCitySuggestions(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
Demo3WebService.GetUniversitySuggestions= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</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>
Demo3WebService._staticInstance.GetUniversitySuggestions(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }
Demo3WebService.GetSearchesSuggestions= function(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext) {
/// <param name="keyword" type="String">System.String</param>
/// <param name="usePaging" type="Boolean">System.Boolean</param>
/// <param name="pageIndex" type="Number">System.Int32</param>
/// <param name="pageSize" type="Number">System.Int32</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>
Demo3WebService._staticInstance.GetSearchesSuggestions(keyword,usePaging,pageIndex,pageSize,onSuccess,onFailed,userContext); }

