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

