From 193808b31df9bccd6f6763c43b50a9173da941fa Mon Sep 17 00:00:00 2001 From: frederico Date: Mon, 13 May 2019 18:22:59 +0000 Subject: [PATCH] fixed bug#14329 qua:Wallysson dev:Thiago git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@93167 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/service/impl/PuntoVentaServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java index 869882788..be85309d8 100644 --- a/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java +++ b/src/com/rjconsultores/ventaboletos/service/impl/PuntoVentaServiceImpl.java @@ -199,7 +199,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService { private void integrarFornecedorAG(PuntoVenta entidad) { try { IAGservice service = new IAGserviceLocator(); - IAG iag = null; //service.getIAGPort(new URL(DaoAG.getInstance().obterConstante(Constantes.URL_WS_AG))); + IAG iag = DaoAG.getInstance().obterConstante(Constantes.URL_WS_AG) == null ? null : service.getIAGPort(new URL(DaoAG.getInstance().obterConstante(Constantes.URL_WS_AG))); TFornecedor fornecedor = null; String strFornecedor = ""; try{ @@ -270,7 +270,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService { try { IAGservice service = new IAGserviceLocator(); - IAG iag = null; // service.getIAGPort(new URL(DaoAG.getInstance().obterConstante(Constantes.URL_WS_AG))); + IAG iag = DaoAG.getInstance().obterConstante(Constantes.URL_WS_AG) == null ? null : service.getIAGPort(new URL(DaoAG.getInstance().obterConstante(Constantes.URL_WS_AG))); TCliente cli = null; String cliStr = ""; try {