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