leonardo 2017-01-11 17:07:17 +00:00
parent cc4b2f10b9
commit 7b78b14d1d
1 changed files with 4 additions and 4 deletions

View File

@ -168,7 +168,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
String strFornecedor = ""; String strFornecedor = "";
try{ try{
strFornecedor = iag.getCodigoFornecedorWithIDWS(entidad.getNumPuntoVenta().toString()); strFornecedor = iag.getCodigoFornecedorWithIDWS(entidad.getNumPuntoVenta().toString());
log.debug("Retorno consulta fornecedor ws: " + strFornecedor); log.info("Retorno consulta fornecedor ws: " + strFornecedor);
} catch (RemoteException e) { } catch (RemoteException e) {
log.error("", e.toString()); log.error("", e.toString());
} }
@ -214,7 +214,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
fornecedor.setIDWS(entidad.getNumPuntoVenta()); fornecedor.setIDWS(entidad.getNumPuntoVenta());
try{ try{
String retornoAG = iag.incluiFornecedor(fornecedor); String retornoAG = iag.incluiFornecedor(fornecedor);
log.debug(retornoAG); log.info(retornoAG);
} catch (RemoteException e) { } catch (RemoteException e) {
entidad.setIndIntegradoAG(false); entidad.setIndIntegradoAG(false);
entidad.setMotivoNaoIntegradoAG(e.getMessage()); entidad.setMotivoNaoIntegradoAG(e.getMessage());
@ -240,7 +240,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
String cliStr = ""; String cliStr = "";
try{ try{
cliStr = iag.getClienteWithIDWS(entidad.getNumPuntoVenta().toString()); cliStr = iag.getClienteWithIDWS(entidad.getNumPuntoVenta().toString());
log.debug("Retorno consulta cliente ws: " + cliStr); log.info("Retorno consulta cliente ws: " + cliStr);
} catch (RemoteException e) { } catch (RemoteException e) {
log.error("", e.toString()); log.error("", e.toString());
} }
@ -308,7 +308,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
cli.getServicosCliente().setCRS_Codigo(""); cli.getServicosCliente().setCRS_Codigo("");
try{ try{
String retornoAG = iag.incluiCliente(cli); String retornoAG = iag.incluiCliente(cli);
log.debug(retornoAG); log.info(retornoAG);
} catch (RemoteException e) { } catch (RemoteException e) {
entidad.setIndIntegradoAG(false); entidad.setIndIntegradoAG(false);
entidad.setMotivoNaoIntegradoAG(e.getMessage()); entidad.setMotivoNaoIntegradoAG(e.getMessage());