var Service=function() {
Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Service.prototype={
GetDateTime:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'GetDateTime',false,{},succeededCallback,failedCallback,userContext); },
LoadCampanha:function(camID,succeededCallback, failedCallback, userContext) {
return this._invoke(Service.get_path(), 'LoadCampanha',false,{camID:camID},succeededCallback,failedCallback,userContext); }}
Service.registerClass('Service',Sys.Net.WebServiceProxy);
Service._staticInstance = new Service();
Service.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Service._staticInstance._path = value; }
Service.get_path = function() { return Service._staticInstance._path; }
Service.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); }
Service._staticInstance._timeout = value; }
Service.get_timeout = function() { 
return Service._staticInstance._timeout; }
Service.set_defaultUserContext = function(value) { 
Service._staticInstance._userContext = value; }
Service.get_defaultUserContext = function() { 
return Service._staticInstance._userContext; }
Service.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Service._staticInstance._succeeded = value; }
Service.get_defaultSucceededCallback = function() { 
return Service._staticInstance._succeeded; }
Service.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Service._staticInstance._failed = value; }
Service.get_defaultFailedCallback = function() { 
return Service._staticInstance._failed; }
Service.set_path("/geo/Service.asmx");
Service.GetDateTime= function(onSuccess,onFailed,userContext) {Service._staticInstance.GetDateTime(onSuccess,onFailed,userContext); }
Service.LoadCampanha= function(camID,onSuccess,onFailed,userContext) {Service._staticInstance.LoadCampanha(camID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WEBCampanha) === 'undefined') {
var WEBCampanha=gtc("WEBCampanha");
WEBCampanha.registerClass('WEBCampanha');
}

