Type.registerNamespace('LoanVillage');
LoanVillage.AutoComplete=function() {
LoanVillage.AutoComplete.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LoanVillage.AutoComplete.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return LoanVillage.AutoComplete._staticInstance.get_path();},
Gestsuggetions:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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(), 'Gestsuggetions',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
Gestsuggetions_TOP1:function(prefixText,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</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(), 'Gestsuggetions_TOP1',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GestSearchItemList:function(itemList,succeededCallback, failedCallback, userContext) {
/// <param name="itemList" type="String">System.String</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(), 'GestSearchItemList',false,{itemList:itemList},succeededCallback,failedCallback,userContext); }}
LoanVillage.AutoComplete.registerClass('LoanVillage.AutoComplete',Sys.Net.WebServiceProxy);
LoanVillage.AutoComplete._staticInstance = new LoanVillage.AutoComplete();
LoanVillage.AutoComplete.set_path = function(value) {
LoanVillage.AutoComplete._staticInstance.set_path(value); }
LoanVillage.AutoComplete.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return LoanVillage.AutoComplete._staticInstance.get_path();}
LoanVillage.AutoComplete.set_timeout = function(value) {
LoanVillage.AutoComplete._staticInstance.set_timeout(value); }
LoanVillage.AutoComplete.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return LoanVillage.AutoComplete._staticInstance.get_timeout(); }
LoanVillage.AutoComplete.set_defaultUserContext = function(value) { 
LoanVillage.AutoComplete._staticInstance.set_defaultUserContext(value); }
LoanVillage.AutoComplete.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return LoanVillage.AutoComplete._staticInstance.get_defaultUserContext(); }
LoanVillage.AutoComplete.set_defaultSucceededCallback = function(value) { 
 LoanVillage.AutoComplete._staticInstance.set_defaultSucceededCallback(value); }
LoanVillage.AutoComplete.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return LoanVillage.AutoComplete._staticInstance.get_defaultSucceededCallback(); }
LoanVillage.AutoComplete.set_defaultFailedCallback = function(value) { 
LoanVillage.AutoComplete._staticInstance.set_defaultFailedCallback(value); }
LoanVillage.AutoComplete.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return LoanVillage.AutoComplete._staticInstance.get_defaultFailedCallback(); }
LoanVillage.AutoComplete.set_path("/AutoComplete.asmx");
LoanVillage.AutoComplete.Gestsuggetions= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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>
LoanVillage.AutoComplete._staticInstance.Gestsuggetions(prefixText,count,onSuccess,onFailed,userContext); }
LoanVillage.AutoComplete.Gestsuggetions_TOP1= function(prefixText,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</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>
LoanVillage.AutoComplete._staticInstance.Gestsuggetions_TOP1(prefixText,onSuccess,onFailed,userContext); }
LoanVillage.AutoComplete.GestSearchItemList= function(itemList,onSuccess,onFailed,userContext) {
/// <param name="itemList" type="String">System.String</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>
LoanVillage.AutoComplete._staticInstance.GestSearchItemList(itemList,onSuccess,onFailed,userContext); }
