bug #7788
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@63606 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
d5570057f3
commit
69770f8a4a
|
@ -57,6 +57,8 @@ import com.rjconsultores.ws.utileria.Atributos.TipoFornecedor;
|
|||
import com.rjconsultores.ws.utileria.Atributos.TipoPessoa;
|
||||
import com.rjconsultores.ws.utileria.RetornoTotvs;
|
||||
import com.rjconsultores.ws.utileria.RetornoTotvs.TipoRetorno;
|
||||
import com.rjconsultores.wsag.Constantes;
|
||||
import com.rjconsultores.wsag.dao.DaoAG;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -154,7 +156,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
|||
if (ApplicationProperties.getInstance().integracionAGWS()) {
|
||||
try{
|
||||
IAGservice service = new IAGserviceLocator();
|
||||
IAG iag = service.getIAGPort(new URL("http://localhost:8089/cgi-bin/AGWS.exe/soap/IAG"));
|
||||
IAG iag = service.getIAGPort(new URL(DaoAG.getInstance().obterConstante(Constantes.URL_WS_AG)));
|
||||
TFornecedor fornecedor = null;
|
||||
try{
|
||||
fornecedor = iag.getObjetoFornecedorPorCNPJCPF(entidad.getNumDoCPuntoVenta());
|
||||
|
@ -221,7 +223,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
|||
if (ApplicationProperties.getInstance().integracionAGWS()) {
|
||||
try{
|
||||
IAGservice service = new IAGserviceLocator();
|
||||
IAG iag = service.getIAGPort(new URL("http://localhost:8089/cgi-bin/AGWS.exe/soap/IAG"));
|
||||
IAG iag = service.getIAGPort(new URL(DaoAG.getInstance().obterConstante(Constantes.URL_WS_AG)));
|
||||
TCliente cli = null;
|
||||
try{
|
||||
cli = iag.getObjetoClienteCPFCNPJ(entidad.getNumDoCPuntoVenta());
|
||||
|
|
Loading…
Reference in New Issue