Type.registerNamespace('Karabel.Web.WebServices');
Karabel.Web.WebServices.GetAirportsWS=function() {
Karabel.Web.WebServices.GetAirportsWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Karabel.Web.WebServices.GetAirportsWS.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Karabel.Web.WebServices.GetAirportsWS._staticInstance.get_path();},
GetAirports:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAirports',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetAirportByCity:function(cityid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAirportByCity',false,{cityid:cityid},succeededCallback,failedCallback,userContext); },
IsValidAirport:function(airportValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsValidAirport',false,{airportValue:airportValue},succeededCallback,failedCallback,userContext); },
GetCityNameByAiportCode:function(airportCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCityNameByAiportCode',false,{airportCode:airportCode},succeededCallback,failedCallback,userContext); },
GetAirCompanyName:function(companyCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAirCompanyName',false,{companyCode:companyCode},succeededCallback,failedCallback,userContext); },
GetAirportNameByAirportCode:function(airportCode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAirportNameByAirportCode',false,{airportCode:airportCode},succeededCallback,failedCallback,userContext); }}
Karabel.Web.WebServices.GetAirportsWS.registerClass('Karabel.Web.WebServices.GetAirportsWS',Sys.Net.WebServiceProxy);
Karabel.Web.WebServices.GetAirportsWS._staticInstance = new Karabel.Web.WebServices.GetAirportsWS();
Karabel.Web.WebServices.GetAirportsWS.set_path = function(value) { Karabel.Web.WebServices.GetAirportsWS._staticInstance.set_path(value); }
Karabel.Web.WebServices.GetAirportsWS.get_path = function() { return Karabel.Web.WebServices.GetAirportsWS._staticInstance.get_path(); }
Karabel.Web.WebServices.GetAirportsWS.set_timeout = function(value) { Karabel.Web.WebServices.GetAirportsWS._staticInstance.set_timeout(value); }
Karabel.Web.WebServices.GetAirportsWS.get_timeout = function() { return Karabel.Web.WebServices.GetAirportsWS._staticInstance.get_timeout(); }
Karabel.Web.WebServices.GetAirportsWS.set_defaultUserContext = function(value) { Karabel.Web.WebServices.GetAirportsWS._staticInstance.set_defaultUserContext(value); }
Karabel.Web.WebServices.GetAirportsWS.get_defaultUserContext = function() { return Karabel.Web.WebServices.GetAirportsWS._staticInstance.get_defaultUserContext(); }
Karabel.Web.WebServices.GetAirportsWS.set_defaultSucceededCallback = function(value) { Karabel.Web.WebServices.GetAirportsWS._staticInstance.set_defaultSucceededCallback(value); }
Karabel.Web.WebServices.GetAirportsWS.get_defaultSucceededCallback = function() { return Karabel.Web.WebServices.GetAirportsWS._staticInstance.get_defaultSucceededCallback(); }
Karabel.Web.WebServices.GetAirportsWS.set_defaultFailedCallback = function(value) { Karabel.Web.WebServices.GetAirportsWS._staticInstance.set_defaultFailedCallback(value); }
Karabel.Web.WebServices.GetAirportsWS.get_defaultFailedCallback = function() { return Karabel.Web.WebServices.GetAirportsWS._staticInstance.get_defaultFailedCallback(); }
Karabel.Web.WebServices.GetAirportsWS.set_path("/WebServices/GetAirportsWS.asmx");
Karabel.Web.WebServices.GetAirportsWS.GetAirports= function(prefixText,count,onSuccess,onFailed,userContext) {Karabel.Web.WebServices.GetAirportsWS._staticInstance.GetAirports(prefixText,count,onSuccess,onFailed,userContext); }
Karabel.Web.WebServices.GetAirportsWS.GetAirportByCity= function(cityid,onSuccess,onFailed,userContext) {Karabel.Web.WebServices.GetAirportsWS._staticInstance.GetAirportByCity(cityid,onSuccess,onFailed,userContext); }
Karabel.Web.WebServices.GetAirportsWS.IsValidAirport= function(airportValue,onSuccess,onFailed,userContext) {Karabel.Web.WebServices.GetAirportsWS._staticInstance.IsValidAirport(airportValue,onSuccess,onFailed,userContext); }
Karabel.Web.WebServices.GetAirportsWS.GetCityNameByAiportCode= function(airportCode,onSuccess,onFailed,userContext) {Karabel.Web.WebServices.GetAirportsWS._staticInstance.GetCityNameByAiportCode(airportCode,onSuccess,onFailed,userContext); }
Karabel.Web.WebServices.GetAirportsWS.GetAirCompanyName= function(companyCode,onSuccess,onFailed,userContext) {Karabel.Web.WebServices.GetAirportsWS._staticInstance.GetAirCompanyName(companyCode,onSuccess,onFailed,userContext); }
Karabel.Web.WebServices.GetAirportsWS.GetAirportNameByAirportCode= function(airportCode,onSuccess,onFailed,userContext) {Karabel.Web.WebServices.GetAirportsWS._staticInstance.GetAirportNameByAirportCode(airportCode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Galileo.Services.Entities');
if (typeof(Galileo.Services.Entities.AirportSearchList) === 'undefined') {
Galileo.Services.Entities.AirportSearchList=gtc("Galileo.Services.Entities.AirportSearchList");
Galileo.Services.Entities.AirportSearchList.registerClass('Galileo.Services.Entities.AirportSearchList');
}

