Type.registerNamespace('GeneralWs');
GeneralWs.General=function() {
GeneralWs.General.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GeneralWs.General.prototype={
GetServerTime:function(succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'GetServerTime',false,{},succeededCallback,failedCallback,userContext); },
GetHotelDetails:function(PropertyID,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'GetHotelDetails',false,{PropertyID:PropertyID},succeededCallback,failedCallback,userContext); },
GetHotelOverview:function(PropertyID,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'GetHotelOverview',false,{PropertyID:PropertyID},succeededCallback,failedCallback,userContext); },
GetContCountries:function(strContinent,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'GetContCountries',false,{strContinent:strContinent},succeededCallback,failedCallback,userContext); },
GetSecPage:function(pageName,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'GetSecPage',false,{pageName:pageName},succeededCallback,failedCallback,userContext); },
GetPhotos:function(PropertyID,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'GetPhotos',false,{PropertyID:PropertyID},succeededCallback,failedCallback,userContext); },
GetHotelList:function(swLat,swLon,neLat,neLon,Lang,FirstHotel,LastHotel,SortBy,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'GetHotelList',false,{swLat:swLat,swLon:swLon,neLat:neLat,neLon:neLon,Lang:Lang,FirstHotel:FirstHotel,LastHotel:LastHotel,SortBy:SortBy},succeededCallback,failedCallback,userContext); },
procTravelInfo:function(TravelInfoURL,Title,KeyWords,Description,Body,BodyText,Links,Latitude,Longitude,SouthLatitude,EastLongitude,NorthLatitude,WestLongitude,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'procTravelInfo',false,{TravelInfoURL:TravelInfoURL,Title:Title,KeyWords:KeyWords,Description:Description,Body:Body,BodyText:BodyText,Links:Links,Latitude:Latitude,Longitude:Longitude,SouthLatitude:SouthLatitude,EastLongitude:EastLongitude,NorthLatitude:NorthLatitude,WestLongitude:WestLongitude},succeededCallback,failedCallback,userContext); },
GetUrlsForR:function(RefUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'GetUrlsForR',false,{RefUrl:RefUrl},succeededCallback,failedCallback,userContext); },
GotRForUrls:function(Result,succeededCallback, failedCallback, userContext) {
return this._invoke(GeneralWs.General.get_path(), 'GotRForUrls',false,{Result:Result},succeededCallback,failedCallback,userContext); }}
GeneralWs.General.registerClass('GeneralWs.General',Sys.Net.WebServiceProxy);
GeneralWs.General._staticInstance = new GeneralWs.General();
GeneralWs.General.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; GeneralWs.General._staticInstance._path = value; }
GeneralWs.General.get_path = function() { return GeneralWs.General._staticInstance._path; }
GeneralWs.General.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
GeneralWs.General._staticInstance._timeout = value; }
GeneralWs.General.get_timeout = function() { 
return GeneralWs.General._staticInstance._timeout; }
GeneralWs.General.set_defaultUserContext = function(value) { 
GeneralWs.General._staticInstance._userContext = value; }
GeneralWs.General.get_defaultUserContext = function() { 
return GeneralWs.General._staticInstance._userContext; }
GeneralWs.General.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; GeneralWs.General._staticInstance._succeeded = value; }
GeneralWs.General.get_defaultSucceededCallback = function() { 
return GeneralWs.General._staticInstance._succeeded; }
GeneralWs.General.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; GeneralWs.General._staticInstance._failed = value; }
GeneralWs.General.get_defaultFailedCallback = function() { 
return GeneralWs.General._staticInstance._failed; }
GeneralWs.General.set_path("/WebServices/General.asmx");
GeneralWs.General.GetServerTime= function(onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.GetServerTime(onSuccess,onFailed,userContext); }
GeneralWs.General.GetHotelDetails= function(PropertyID,onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.GetHotelDetails(PropertyID,onSuccess,onFailed,userContext); }
GeneralWs.General.GetHotelOverview= function(PropertyID,onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.GetHotelOverview(PropertyID,onSuccess,onFailed,userContext); }
GeneralWs.General.GetContCountries= function(strContinent,onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.GetContCountries(strContinent,onSuccess,onFailed,userContext); }
GeneralWs.General.GetSecPage= function(pageName,onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.GetSecPage(pageName,onSuccess,onFailed,userContext); }
GeneralWs.General.GetPhotos= function(PropertyID,onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.GetPhotos(PropertyID,onSuccess,onFailed,userContext); }
GeneralWs.General.GetHotelList= function(swLat,swLon,neLat,neLon,Lang,FirstHotel,LastHotel,SortBy,onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.GetHotelList(swLat,swLon,neLat,neLon,Lang,FirstHotel,LastHotel,SortBy,onSuccess,onFailed,userContext); }
GeneralWs.General.procTravelInfo= function(TravelInfoURL,Title,KeyWords,Description,Body,BodyText,Links,Latitude,Longitude,SouthLatitude,EastLongitude,NorthLatitude,WestLongitude,onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.procTravelInfo(TravelInfoURL,Title,KeyWords,Description,Body,BodyText,Links,Latitude,Longitude,SouthLatitude,EastLongitude,NorthLatitude,WestLongitude,onSuccess,onFailed,userContext); }
GeneralWs.General.GetUrlsForR= function(RefUrl,onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.GetUrlsForR(RefUrl,onSuccess,onFailed,userContext); }
GeneralWs.General.GotRForUrls= function(Result,onSuccess,onFailed,userContext) {GeneralWs.General._staticInstance.GotRForUrls(Result,onSuccess,onFailed,userContext); }
