var AjaxWebService=function() {
AjaxWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AjaxWebService.prototype={
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(AjaxWebService.get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
ValidateCountry:function(countryID,succeededCallback, failedCallback, userContext) {
return this._invoke(AjaxWebService.get_path(), 'ValidateCountry',false,{countryID:countryID},succeededCallback,failedCallback,userContext); },
GetMailService:function(mailServiceID,estDateTime,mailPropertiesString,succeededCallback, failedCallback, userContext) {
return this._invoke(AjaxWebService.get_path(), 'GetMailService',false,{mailServiceID:mailServiceID,estDateTime:estDateTime,mailPropertiesString:mailPropertiesString},succeededCallback,failedCallback,userContext); }}
AjaxWebService.registerClass('AjaxWebService',Sys.Net.WebServiceProxy);
AjaxWebService._staticInstance = new AjaxWebService();
AjaxWebService.set_path = function(value) { AjaxWebService._staticInstance._path = value; }
AjaxWebService.get_path = function() { return AjaxWebService._staticInstance._path; }
AjaxWebService.set_timeout = function(value) { AjaxWebService._staticInstance._timeout = value; }
AjaxWebService.get_timeout = function() { return AjaxWebService._staticInstance._timeout; }
AjaxWebService.set_defaultUserContext = function(value) { AjaxWebService._staticInstance._userContext = value; }
AjaxWebService.get_defaultUserContext = function() { return AjaxWebService._staticInstance._userContext; }
AjaxWebService.set_defaultSucceededCallback = function(value) { AjaxWebService._staticInstance._succeeded = value; }
AjaxWebService.get_defaultSucceededCallback = function() { return AjaxWebService._staticInstance._succeeded; }
AjaxWebService.set_defaultFailedCallback = function(value) { AjaxWebService._staticInstance._failed = value; }
AjaxWebService.get_defaultFailedCallback = function() { return AjaxWebService._staticInstance._failed; }
AjaxWebService.set_path("/AjaxWebService.asmx");
AjaxWebService.HelloWorld= function(onSuccess,onFailed,userContext) {AjaxWebService._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
AjaxWebService.ValidateCountry= function(countryID,onSuccess,onFailed,userContext) {AjaxWebService._staticInstance.ValidateCountry(countryID,onSuccess,onFailed,userContext); }
AjaxWebService.GetMailService= function(mailServiceID,estDateTime,mailPropertiesString,onSuccess,onFailed,userContext) {AjaxWebService._staticInstance.GetMailService(mailServiceID,estDateTime,mailPropertiesString,onSuccess,onFailed,userContext); }
