var wsEmpresa=function() {
wsEmpresa.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
wsEmpresa.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return wsEmpresa._staticInstance.get_path();},
retornaEmpresa:function(idEmpresa,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'retornaEmpresa',false,{idEmpresa:idEmpresa},succeededCallback,failedCallback,userContext); },
retornaEmpresasRelacionadas:function(idEmpresa,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'retornaEmpresasRelacionadas',false,{idEmpresa:idEmpresa},succeededCallback,failedCallback,userContext); },
retornaEmpresasFonetica:function(termo,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'retornaEmpresasFonetica',false,{termo:termo},succeededCallback,failedCallback,userContext); }}
wsEmpresa.registerClass('wsEmpresa',Sys.Net.WebServiceProxy);
wsEmpresa._staticInstance = new wsEmpresa();
wsEmpresa.set_path = function(value) { wsEmpresa._staticInstance.set_path(value); }
wsEmpresa.get_path = function() { return wsEmpresa._staticInstance.get_path(); }
wsEmpresa.set_timeout = function(value) { wsEmpresa._staticInstance.set_timeout(value); }
wsEmpresa.get_timeout = function() { return wsEmpresa._staticInstance.get_timeout(); }
wsEmpresa.set_defaultUserContext = function(value) { wsEmpresa._staticInstance.set_defaultUserContext(value); }
wsEmpresa.get_defaultUserContext = function() { return wsEmpresa._staticInstance.get_defaultUserContext(); }
wsEmpresa.set_defaultSucceededCallback = function(value) { wsEmpresa._staticInstance.set_defaultSucceededCallback(value); }
wsEmpresa.get_defaultSucceededCallback = function() { return wsEmpresa._staticInstance.get_defaultSucceededCallback(); }
wsEmpresa.set_defaultFailedCallback = function(value) { wsEmpresa._staticInstance.set_defaultFailedCallback(value); }
wsEmpresa.get_defaultFailedCallback = function() { return wsEmpresa._staticInstance.get_defaultFailedCallback(); }
wsEmpresa.set_path("/wsEmpresa.asmx");
wsEmpresa.retornaEmpresa= function(idEmpresa,onSuccess,onFailed,userContext) {wsEmpresa._staticInstance.retornaEmpresa(idEmpresa,onSuccess,onFailed,userContext); }
wsEmpresa.retornaEmpresasRelacionadas= function(idEmpresa,onSuccess,onFailed,userContext) {wsEmpresa._staticInstance.retornaEmpresasRelacionadas(idEmpresa,onSuccess,onFailed,userContext); }
wsEmpresa.retornaEmpresasFonetica= function(termo,onSuccess,onFailed,userContext) {wsEmpresa._staticInstance.retornaEmpresasFonetica(termo,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Empresa) === 'undefined') {
var Empresa=gtc("Empresa");
Empresa.registerClass('Empresa');
}
