var WSAutoComplete=function() {
WSAutoComplete.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WSAutoComplete.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WSAutoComplete._staticInstance.get_path();},
GetOffices:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetOffices',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetPersons2:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPersons2',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetPersons:function(prefixText,contextKey,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPersons',false,{prefixText:prefixText,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetAirportCodesIATA:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAirportCodesIATA',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetAirportCodesICAO:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAirportCodesICAO',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetHotels:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetHotels',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetMasterHotels:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMasterHotels',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetAirports:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAirports',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetCommercialAirports:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCommercialAirports',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetLocations:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocations',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetRentalCarLocations:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRentalCarLocations',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetRentalCarLocations2:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRentalCarLocations2',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); },
GetLocationsAttributes:function(prefixText,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLocationsAttributes',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); }}
WSAutoComplete.registerClass('WSAutoComplete',Sys.Net.WebServiceProxy);
WSAutoComplete._staticInstance = new WSAutoComplete();
WSAutoComplete.set_path = function(value) { WSAutoComplete._staticInstance.set_path(value); }
WSAutoComplete.get_path = function() { return WSAutoComplete._staticInstance.get_path(); }
WSAutoComplete.set_timeout = function(value) { WSAutoComplete._staticInstance.set_timeout(value); }
WSAutoComplete.get_timeout = function() { return WSAutoComplete._staticInstance.get_timeout(); }
WSAutoComplete.set_defaultUserContext = function(value) { WSAutoComplete._staticInstance.set_defaultUserContext(value); }
WSAutoComplete.get_defaultUserContext = function() { return WSAutoComplete._staticInstance.get_defaultUserContext(); }
WSAutoComplete.set_defaultSucceededCallback = function(value) { WSAutoComplete._staticInstance.set_defaultSucceededCallback(value); }
WSAutoComplete.get_defaultSucceededCallback = function() { return WSAutoComplete._staticInstance.get_defaultSucceededCallback(); }
WSAutoComplete.set_defaultFailedCallback = function(value) { WSAutoComplete._staticInstance.set_defaultFailedCallback(value); }
WSAutoComplete.get_defaultFailedCallback = function() { return WSAutoComplete._staticInstance.get_defaultFailedCallback(); }
WSAutoComplete.set_enableJsonp = function(value) { WSAutoComplete._staticInstance.set_enableJsonp(value); }
WSAutoComplete.get_enableJsonp = function() { return WSAutoComplete._staticInstance.get_enableJsonp(); }
WSAutoComplete.set_jsonpCallbackParameter = function(value) { WSAutoComplete._staticInstance.set_jsonpCallbackParameter(value); }
WSAutoComplete.get_jsonpCallbackParameter = function() { return WSAutoComplete._staticInstance.get_jsonpCallbackParameter(); }
WSAutoComplete.set_path("/WSAutoComplete.asmx");
WSAutoComplete.GetOffices= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetOffices(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetPersons2= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetPersons2(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetPersons= function(prefixText,contextKey,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetPersons(prefixText,contextKey,onSuccess,onFailed,userContext); }
WSAutoComplete.GetAirportCodesIATA= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetAirportCodesIATA(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetAirportCodesICAO= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetAirportCodesICAO(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetHotels= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetHotels(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetMasterHotels= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetMasterHotels(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetAirports= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetAirports(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetCommercialAirports= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetCommercialAirports(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetLocations= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetLocations(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetRentalCarLocations= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetRentalCarLocations(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetRentalCarLocations2= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetRentalCarLocations2(prefixText,onSuccess,onFailed,userContext); }
WSAutoComplete.GetLocationsAttributes= function(prefixText,onSuccess,onFailed,userContext) {WSAutoComplete._staticInstance.GetLocationsAttributes(prefixText,onSuccess,onFailed,userContext); }

