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