var XapaDealRotator=function() {
XapaDealRotator.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
XapaDealRotator.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return XapaDealRotator._staticInstance.get_path();},
GetDealData:function(departureCode,succeededCallback, failedCallback, userContext) {
/// <param name="departureCode" 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(), 'GetDealData',false,{departureCode:departureCode},succeededCallback,failedCallback,userContext); }}
XapaDealRotator.registerClass('XapaDealRotator',Sys.Net.WebServiceProxy);
XapaDealRotator._staticInstance = new XapaDealRotator();
XapaDealRotator.set_path = function(value) {
XapaDealRotator._staticInstance.set_path(value); }
XapaDealRotator.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return XapaDealRotator._staticInstance.get_path();}
XapaDealRotator.set_timeout = function(value) {
XapaDealRotator._staticInstance.set_timeout(value); }
XapaDealRotator.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return XapaDealRotator._staticInstance.get_timeout(); }
XapaDealRotator.set_defaultUserContext = function(value) { 
XapaDealRotator._staticInstance.set_defaultUserContext(value); }
XapaDealRotator.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return XapaDealRotator._staticInstance.get_defaultUserContext(); }
XapaDealRotator.set_defaultSucceededCallback = function(value) { 
 XapaDealRotator._staticInstance.set_defaultSucceededCallback(value); }
XapaDealRotator.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return XapaDealRotator._staticInstance.get_defaultSucceededCallback(); }
XapaDealRotator.set_defaultFailedCallback = function(value) { 
XapaDealRotator._staticInstance.set_defaultFailedCallback(value); }
XapaDealRotator.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return XapaDealRotator._staticInstance.get_defaultFailedCallback(); }
XapaDealRotator.set_path("/Services/XapaDealRotator.asmx");
XapaDealRotator.GetDealData= function(departureCode,onSuccess,onFailed,userContext) {
/// <param name="departureCode" 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>
XapaDealRotator._staticInstance.GetDealData(departureCode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(AdData) === 'undefined') {
var AdData=gtc("AdData");
AdData.registerClass('AdData');
}
