var AutoCompleService=function() {
AutoCompleService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AutoCompleService.prototype={
_get_path:function() {
var p = this.get_path();
if (p) return p;
else return AutoCompleService._staticInstance.get_path();},
GetCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// System.String
/// System.Int32
///
///
///
return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); }}
AutoCompleService.registerClass('AutoCompleService',Sys.Net.WebServiceProxy);
AutoCompleService._staticInstance = new AutoCompleService();
AutoCompleService.set_path = function(value) {
AutoCompleService._staticInstance.set_path(value); }
AutoCompleService.get_path = function() {
/// The service url.
return AutoCompleService._staticInstance.get_path();}
AutoCompleService.set_timeout = function(value) {
AutoCompleService._staticInstance.set_timeout(value); }
AutoCompleService.get_timeout = function() {
/// The service timeout.
return AutoCompleService._staticInstance.get_timeout(); }
AutoCompleService.set_defaultUserContext = function(value) {
AutoCompleService._staticInstance.set_defaultUserContext(value); }
AutoCompleService.get_defaultUserContext = function() {
/// The service default user context.
return AutoCompleService._staticInstance.get_defaultUserContext(); }
AutoCompleService.set_defaultSucceededCallback = function(value) {
AutoCompleService._staticInstance.set_defaultSucceededCallback(value); }
AutoCompleService.get_defaultSucceededCallback = function() {
/// The service default succeeded callback.
return AutoCompleService._staticInstance.get_defaultSucceededCallback(); }
AutoCompleService.set_defaultFailedCallback = function(value) {
AutoCompleService._staticInstance.set_defaultFailedCallback(value); }
AutoCompleService.get_defaultFailedCallback = function() {
/// The service default failed callback.
return AutoCompleService._staticInstance.get_defaultFailedCallback(); }
AutoCompleService.set_enableJsonp = function(value) { AutoCompleService._staticInstance.set_enableJsonp(value); }
AutoCompleService.get_enableJsonp = function() {
/// Specifies whether the service supports JSONP for cross domain calling.
return AutoCompleService._staticInstance.get_enableJsonp(); }
AutoCompleService.set_jsonpCallbackParameter = function(value) { AutoCompleService._staticInstance.set_jsonpCallbackParameter(value); }
AutoCompleService.get_jsonpCallbackParameter = function() {
/// Specifies the parameter name that contains the callback function name for a JSONP request.
return AutoCompleService._staticInstance.get_jsonpCallbackParameter(); }
AutoCompleService.set_path("/AutoCompleService.asmx");
AutoCompleService.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {
/// System.String
/// System.Int32
///
///
///
AutoCompleService._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }