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