Type.registerNamespace('ESM.Internet.Web.ScriptServices');
ESM.Internet.Web.ScriptServices.Companies=function() {
ESM.Internet.Web.ScriptServices.Companies.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ESM.Internet.Web.ScriptServices.Companies.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ESM.Internet.Web.ScriptServices.Companies._staticInstance.get_path();},
GetMeetings:function(Year,Sector,Alias,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMeetings',false,{Year:Year,Sector:Sector,Alias:Alias},succeededCallback,failedCallback,userContext); },
GetReports:function(Year,Symbol,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetReports',false,{Year:Year,Symbol:Symbol},succeededCallback,failedCallback,userContext); },
GetCompanies:function(MarketID,Symbol,IsLocal,SectorID,Acquisition,compClass,compStat,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCompanies',false,{MarketID:MarketID,Symbol:Symbol,IsLocal:IsLocal,SectorID:SectorID,Acquisition:Acquisition,compClass:compClass,compStat:compStat},succeededCallback,failedCallback,userContext); },
GetBrokers:function(Type,Code,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetBrokers',false,{Type:Type,Code:Code},succeededCallback,failedCallback,userContext); }}
ESM.Internet.Web.ScriptServices.Companies.registerClass('ESM.Internet.Web.ScriptServices.Companies',Sys.Net.WebServiceProxy);
ESM.Internet.Web.ScriptServices.Companies._staticInstance = new ESM.Internet.Web.ScriptServices.Companies();
ESM.Internet.Web.ScriptServices.Companies.set_path = function(value) { ESM.Internet.Web.ScriptServices.Companies._staticInstance.set_path(value); }
ESM.Internet.Web.ScriptServices.Companies.get_path = function() { return ESM.Internet.Web.ScriptServices.Companies._staticInstance.get_path(); }
ESM.Internet.Web.ScriptServices.Companies.set_timeout = function(value) { ESM.Internet.Web.ScriptServices.Companies._staticInstance.set_timeout(value); }
ESM.Internet.Web.ScriptServices.Companies.get_timeout = function() { return ESM.Internet.Web.ScriptServices.Companies._staticInstance.get_timeout(); }
ESM.Internet.Web.ScriptServices.Companies.set_defaultUserContext = function(value) { ESM.Internet.Web.ScriptServices.Companies._staticInstance.set_defaultUserContext(value); }
ESM.Internet.Web.ScriptServices.Companies.get_defaultUserContext = function() { return ESM.Internet.Web.ScriptServices.Companies._staticInstance.get_defaultUserContext(); }
ESM.Internet.Web.ScriptServices.Companies.set_defaultSucceededCallback = function(value) { ESM.Internet.Web.ScriptServices.Companies._staticInstance.set_defaultSucceededCallback(value); }
ESM.Internet.Web.ScriptServices.Companies.get_defaultSucceededCallback = function() { return ESM.Internet.Web.ScriptServices.Companies._staticInstance.get_defaultSucceededCallback(); }
ESM.Internet.Web.ScriptServices.Companies.set_defaultFailedCallback = function(value) { ESM.Internet.Web.ScriptServices.Companies._staticInstance.set_defaultFailedCallback(value); }
ESM.Internet.Web.ScriptServices.Companies.get_defaultFailedCallback = function() { return ESM.Internet.Web.ScriptServices.Companies._staticInstance.get_defaultFailedCallback(); }
ESM.Internet.Web.ScriptServices.Companies.set_path("/scriptservices/Companies.asmx");
ESM.Internet.Web.ScriptServices.Companies.GetMeetings= function(Year,Sector,Alias,onSuccess,onFailed,userContext) {ESM.Internet.Web.ScriptServices.Companies._staticInstance.GetMeetings(Year,Sector,Alias,onSuccess,onFailed,userContext); }
ESM.Internet.Web.ScriptServices.Companies.GetReports= function(Year,Symbol,onSuccess,onFailed,userContext) {ESM.Internet.Web.ScriptServices.Companies._staticInstance.GetReports(Year,Symbol,onSuccess,onFailed,userContext); }
ESM.Internet.Web.ScriptServices.Companies.GetCompanies= function(MarketID,Symbol,IsLocal,SectorID,Acquisition,compClass,compStat,onSuccess,onFailed,userContext) {ESM.Internet.Web.ScriptServices.Companies._staticInstance.GetCompanies(MarketID,Symbol,IsLocal,SectorID,Acquisition,compClass,compStat,onSuccess,onFailed,userContext); }
ESM.Internet.Web.ScriptServices.Companies.GetBrokers= function(Type,Code,onSuccess,onFailed,userContext) {ESM.Internet.Web.ScriptServices.Companies._staticInstance.GetBrokers(Type,Code,onSuccess,onFailed,userContext); }

