Type.registerNamespace('VacanzeCMS.Hotel.Class');
VacanzeCMS.Hotel.Class.HService=function() {
VacanzeCMS.Hotel.Class.HService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VacanzeCMS.Hotel.Class.HService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return VacanzeCMS.Hotel.Class.HService._staticInstance.get_path();},
GetDestinazione: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(), 'GetDestinazione',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetZona:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="contextKey" 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(), 'GetZona',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); },
GetPrimaDestinazione: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(), 'GetPrimaDestinazione',false,{prefixText:prefixText},succeededCallback,failedCallback,userContext); }}
VacanzeCMS.Hotel.Class.HService.registerClass('VacanzeCMS.Hotel.Class.HService',Sys.Net.WebServiceProxy);
VacanzeCMS.Hotel.Class.HService._staticInstance = new VacanzeCMS.Hotel.Class.HService();
VacanzeCMS.Hotel.Class.HService.set_path = function(value) {
VacanzeCMS.Hotel.Class.HService._staticInstance.set_path(value); }
VacanzeCMS.Hotel.Class.HService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return VacanzeCMS.Hotel.Class.HService._staticInstance.get_path();}
VacanzeCMS.Hotel.Class.HService.set_timeout = function(value) {
VacanzeCMS.Hotel.Class.HService._staticInstance.set_timeout(value); }
VacanzeCMS.Hotel.Class.HService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return VacanzeCMS.Hotel.Class.HService._staticInstance.get_timeout(); }
VacanzeCMS.Hotel.Class.HService.set_defaultUserContext = function(value) { 
VacanzeCMS.Hotel.Class.HService._staticInstance.set_defaultUserContext(value); }
VacanzeCMS.Hotel.Class.HService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return VacanzeCMS.Hotel.Class.HService._staticInstance.get_defaultUserContext(); }
VacanzeCMS.Hotel.Class.HService.set_defaultSucceededCallback = function(value) { 
 VacanzeCMS.Hotel.Class.HService._staticInstance.set_defaultSucceededCallback(value); }
VacanzeCMS.Hotel.Class.HService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return VacanzeCMS.Hotel.Class.HService._staticInstance.get_defaultSucceededCallback(); }
VacanzeCMS.Hotel.Class.HService.set_defaultFailedCallback = function(value) { 
VacanzeCMS.Hotel.Class.HService._staticInstance.set_defaultFailedCallback(value); }
VacanzeCMS.Hotel.Class.HService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return VacanzeCMS.Hotel.Class.HService._staticInstance.get_defaultFailedCallback(); }
VacanzeCMS.Hotel.Class.HService.set_enableJsonp = function(value) { VacanzeCMS.Hotel.Class.HService._staticInstance.set_enableJsonp(value); }
VacanzeCMS.Hotel.Class.HService.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return VacanzeCMS.Hotel.Class.HService._staticInstance.get_enableJsonp(); }
VacanzeCMS.Hotel.Class.HService.set_jsonpCallbackParameter = function(value) { VacanzeCMS.Hotel.Class.HService._staticInstance.set_jsonpCallbackParameter(value); }
VacanzeCMS.Hotel.Class.HService.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return VacanzeCMS.Hotel.Class.HService._staticInstance.get_jsonpCallbackParameter(); }
VacanzeCMS.Hotel.Class.HService.set_path("/Hotel/Class/HService.asmx");
VacanzeCMS.Hotel.Class.HService.GetDestinazione= 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>
VacanzeCMS.Hotel.Class.HService._staticInstance.GetDestinazione(prefixText,count,onSuccess,onFailed,userContext); }
VacanzeCMS.Hotel.Class.HService.GetZona= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="contextKey" 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>
VacanzeCMS.Hotel.Class.HService._staticInstance.GetZona(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
VacanzeCMS.Hotel.Class.HService.GetPrimaDestinazione= 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>
VacanzeCMS.Hotel.Class.HService._staticInstance.GetPrimaDestinazione(prefixText,onSuccess,onFailed,userContext); }

