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

