var WCFGeneral=function() {
WCFGeneral.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WCFGeneral.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WCFGeneral._staticInstance.get_path();},
DoWork:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DoWork',false,{},succeededCallback,failedCallback,userContext); },
getRootPath:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getRootPath',false,{},succeededCallback,failedCallback,userContext); }}
WCFGeneral.registerClass('WCFGeneral',Sys.Net.WebServiceProxy);
WCFGeneral._staticInstance = new WCFGeneral();
WCFGeneral.set_path = function(value) { WCFGeneral._staticInstance.set_path(value); }
WCFGeneral.get_path = function() { return WCFGeneral._staticInstance.get_path(); }
WCFGeneral.set_timeout = function(value) { WCFGeneral._staticInstance.set_timeout(value); }
WCFGeneral.get_timeout = function() { return WCFGeneral._staticInstance.get_timeout(); }
WCFGeneral.set_defaultUserContext = function(value) { WCFGeneral._staticInstance.set_defaultUserContext(value); }
WCFGeneral.get_defaultUserContext = function() { return WCFGeneral._staticInstance.get_defaultUserContext(); }
WCFGeneral.set_defaultSucceededCallback = function(value) { WCFGeneral._staticInstance.set_defaultSucceededCallback(value); }
WCFGeneral.get_defaultSucceededCallback = function() { return WCFGeneral._staticInstance.get_defaultSucceededCallback(); }
WCFGeneral.set_defaultFailedCallback = function(value) { WCFGeneral._staticInstance.set_defaultFailedCallback(value); }
WCFGeneral.get_defaultFailedCallback = function() { return WCFGeneral._staticInstance.get_defaultFailedCallback(); }
WCFGeneral.set_path("/WCF/WCFGeneral.svc");
WCFGeneral.DoWork= function(onSuccess,onFailed,userContext) {WCFGeneral._staticInstance.DoWork(onSuccess,onFailed,userContext); }
WCFGeneral.getRootPath= function(onSuccess,onFailed,userContext) {WCFGeneral._staticInstance.getRootPath(onSuccess,onFailed,userContext); }
