Type.registerNamespace('xmsofts.Web'); xmsofts.Web.AjaxWebService=function() { xmsofts.Web.AjaxWebService.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; } xmsofts.Web.AjaxWebService.prototype={ _get_path:function() { var p = this.get_path(); if (p) return p; else return xmsofts.Web.AjaxWebService._staticInstance.get_path();}, ExecuteMethod:function(SubAssemblyName,ClassName,MethodName,KeyID,Parameter,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'ExecuteMethod',false,{SubAssemblyName:SubAssemblyName,ClassName:ClassName,MethodName:MethodName,KeyID:KeyID,Parameter:Parameter},succeededCallback,failedCallback,userContext); }} xmsofts.Web.AjaxWebService.registerClass('xmsofts.Web.AjaxWebService',Sys.Net.WebServiceProxy); xmsofts.Web.AjaxWebService._staticInstance = new xmsofts.Web.AjaxWebService(); xmsofts.Web.AjaxWebService.set_path = function(value) { xmsofts.Web.AjaxWebService._staticInstance.set_path(value); } xmsofts.Web.AjaxWebService.get_path = function() { return xmsofts.Web.AjaxWebService._staticInstance.get_path(); } xmsofts.Web.AjaxWebService.set_timeout = function(value) { xmsofts.Web.AjaxWebService._staticInstance.set_timeout(value); } xmsofts.Web.AjaxWebService.get_timeout = function() { return xmsofts.Web.AjaxWebService._staticInstance.get_timeout(); } xmsofts.Web.AjaxWebService.set_defaultUserContext = function(value) { xmsofts.Web.AjaxWebService._staticInstance.set_defaultUserContext(value); } xmsofts.Web.AjaxWebService.get_defaultUserContext = function() { return xmsofts.Web.AjaxWebService._staticInstance.get_defaultUserContext(); } xmsofts.Web.AjaxWebService.set_defaultSucceededCallback = function(value) { xmsofts.Web.AjaxWebService._staticInstance.set_defaultSucceededCallback(value); } xmsofts.Web.AjaxWebService.get_defaultSucceededCallback = function() { return xmsofts.Web.AjaxWebService._staticInstance.get_defaultSucceededCallback(); } xmsofts.Web.AjaxWebService.set_defaultFailedCallback = function(value) { xmsofts.Web.AjaxWebService._staticInstance.set_defaultFailedCallback(value); } xmsofts.Web.AjaxWebService.get_defaultFailedCallback = function() { return xmsofts.Web.AjaxWebService._staticInstance.get_defaultFailedCallback(); } xmsofts.Web.AjaxWebService.set_enableJsonp = function(value) { xmsofts.Web.AjaxWebService._staticInstance.set_enableJsonp(value); } xmsofts.Web.AjaxWebService.get_enableJsonp = function() { return xmsofts.Web.AjaxWebService._staticInstance.get_enableJsonp(); } xmsofts.Web.AjaxWebService.set_jsonpCallbackParameter = function(value) { xmsofts.Web.AjaxWebService._staticInstance.set_jsonpCallbackParameter(value); } xmsofts.Web.AjaxWebService.get_jsonpCallbackParameter = function() { return xmsofts.Web.AjaxWebService._staticInstance.get_jsonpCallbackParameter(); } xmsofts.Web.AjaxWebService.set_path("/WebServices/AjaxWebService.asmx"); xmsofts.Web.AjaxWebService.ExecuteMethod= function(SubAssemblyName,ClassName,MethodName,KeyID,Parameter,onSuccess,onFailed,userContext) {xmsofts.Web.AjaxWebService._staticInstance.ExecuteMethod(SubAssemblyName,ClassName,MethodName,KeyID,Parameter,onSuccess,onFailed,userContext); } var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor; if (typeof(xmsofts.Web.ResultObject) === 'undefined') { xmsofts.Web.ResultObject=gtc("xmsofts.Web.ResultObject"); xmsofts.Web.ResultObject.registerClass('xmsofts.Web.ResultObject'); }