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