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