Type.registerNamespace('Presentation');
Presentation.wsGateway=function() {
Presentation.wsGateway.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Presentation.wsGateway.prototype={
ExecuteDefaultCommand:function(command,callParamaters,succeededCallback, failedCallback, userContext) {
return this._invoke(Presentation.wsGateway.get_path(), 'ExecuteDefaultCommand',false,{command:command,callParamaters:callParamaters},succeededCallback,failedCallback,userContext); }}
Presentation.wsGateway.registerClass('Presentation.wsGateway',Sys.Net.WebServiceProxy);
Presentation.wsGateway._staticInstance = new Presentation.wsGateway();
Presentation.wsGateway.set_path = function(value) { Presentation.wsGateway._staticInstance._path = value; }
Presentation.wsGateway.get_path = function() { return Presentation.wsGateway._staticInstance._path; }
Presentation.wsGateway.set_timeout = function(value) { Presentation.wsGateway._staticInstance._timeout = value; }
Presentation.wsGateway.get_timeout = function() { return Presentation.wsGateway._staticInstance._timeout; }
Presentation.wsGateway.set_defaultUserContext = function(value) { Presentation.wsGateway._staticInstance._userContext = value; }
Presentation.wsGateway.get_defaultUserContext = function() { return Presentation.wsGateway._staticInstance._userContext; }
Presentation.wsGateway.set_defaultSucceededCallback = function(value) { Presentation.wsGateway._staticInstance._succeeded = value; }
Presentation.wsGateway.get_defaultSucceededCallback = function() { return Presentation.wsGateway._staticInstance._succeeded; }
Presentation.wsGateway.set_defaultFailedCallback = function(value) { Presentation.wsGateway._staticInstance._failed = value; }
Presentation.wsGateway.get_defaultFailedCallback = function() { return Presentation.wsGateway._staticInstance._failed; }
Presentation.wsGateway.set_path("/wsGateway.asmx");
Presentation.wsGateway.ExecuteDefaultCommand= function(command,callParamaters,onSuccess,onFailed,userContext) {Presentation.wsGateway._staticInstance.ExecuteDefaultCommand(command,callParamaters,onSuccess,onFailed,userContext); }
