diff --git a/exemplos/xml/resultado-consulta-gnre.xml b/exemplos/xml/resultado-consulta-gnre.xml index 23394e2..0223729 100644 --- a/exemplos/xml/resultado-consulta-gnre.xml +++ b/exemplos/xml/resultado-consulta-gnre.xml @@ -2,7 +2,7 @@ - + 1 0000000000 diff --git a/lib/Sped/Gnre/Sefaz/ConfigUf.php b/lib/Sped/Gnre/Sefaz/ConfigUf.php index 27da62d..d39debb 100644 --- a/lib/Sped/Gnre/Sefaz/ConfigUf.php +++ b/lib/Sped/Gnre/Sefaz/ConfigUf.php @@ -95,7 +95,7 @@ public function getSoapEnvelop($gnre, $consulta) { $soapEnv = $gnre->createElement('soap12:Envelope'); $soapEnv->setAttribute('xmlns:soap12', 'http://www.w3.org/2003/05/soap-envelope'); - $soapEnv->setAttribute('xmlns:gnr', 'https://www.gnre.pe.gov.br/webservice/GnreConfigUF'); + $soapEnv->setAttribute('xmlns:gnr', 'http://www.gnre.pe.gov.br/webservice/GnreConfigUF'); $gnreCabecalhoSoap = $gnre->createElement('gnr:gnreCabecMsg'); $gnreCabecalhoSoap->appendChild($gnre->createElement('gnr:versaoDados', '1.00')); diff --git a/lib/Sped/Gnre/Sefaz/Consulta.php b/lib/Sped/Gnre/Sefaz/Consulta.php index c87de23..a07b6ab 100644 --- a/lib/Sped/Gnre/Sefaz/Consulta.php +++ b/lib/Sped/Gnre/Sefaz/Consulta.php @@ -95,7 +95,7 @@ public function getSoapEnvelop($gnre, $consulta) $soapEnv->setAttribute('xmlns:soap12', 'http://www.w3.org/2003/05/soap-envelope'); $gnreCabecalhoSoap = $gnre->createElement('gnreCabecMsg'); - $gnreCabecalhoSoap->setAttribute('xmlns', 'https://www.gnre.pe.gov.br/wsdl/consultar'); + $gnreCabecalhoSoap->setAttribute('xmlns', 'http://www.gnre.pe.gov.br/wsdl/consultar'); $gnreCabecalhoSoap->appendChild($gnre->createElement('versaoDados', '1.00')); $soapHeader = $gnre->createElement('soap12:Header'); diff --git a/lib/Sped/Gnre/Sefaz/Lote.php b/lib/Sped/Gnre/Sefaz/Lote.php index 8a2b91e..1723a04 100755 --- a/lib/Sped/Gnre/Sefaz/Lote.php +++ b/lib/Sped/Gnre/Sefaz/Lote.php @@ -101,7 +101,7 @@ public function toXml() $loteGnre = $gnre->createElement('TLote_GNRE'); $loteXmlns = $gnre->createAttribute('xmlns'); - $loteXmlns->value = 'https://www.gnre.pe.gov.br'; + $loteXmlns->value = 'http://www.gnre.pe.gov.br'; $loteGnre->appendChild($loteXmlns); $guia = $gnre->createElement('guias'); @@ -255,7 +255,7 @@ public function getSoapEnvelop($gnre, $loteGnre) $soapEnv->setAttribute('xmlns:soap12', 'http://www.w3.org/2003/05/soap-envelope'); $gnreCabecalhoSoap = $gnre->createElement('gnreCabecMsg'); - $gnreCabecalhoSoap->setAttribute('xmlns', 'https://www.gnre.pe.gov.br/wsdl/processar'); + $gnreCabecalhoSoap->setAttribute('xmlns', 'http://www.gnre.pe.gov.br/wsdl/processar'); $gnreCabecalhoSoap->appendChild($gnre->createElement('versaoDados', '1.00')); $soapHeader = $gnre->createElement('soap12:Header'); diff --git a/lib/Sped/Gnre/Sefaz/LoteV2.php b/lib/Sped/Gnre/Sefaz/LoteV2.php index 3dba9c5..62b88f4 100644 --- a/lib/Sped/Gnre/Sefaz/LoteV2.php +++ b/lib/Sped/Gnre/Sefaz/LoteV2.php @@ -41,7 +41,7 @@ public function getSoapEnvelop($gnre, $loteGnre) $soapEnv->setAttribute('xmlns:soap12', 'http://www.w3.org/2003/05/soap-envelope'); $gnreCabecalhoSoap = $gnre->createElement('gnreCabecMsg'); - $gnreCabecalhoSoap->setAttribute('xmlns', 'https://www.gnre.pe.gov.br/wsdl/processar'); + $gnreCabecalhoSoap->setAttribute('xmlns', 'http://www.gnre.pe.gov.br/wsdl/processar'); $gnreCabecalhoSoap->appendChild($gnre->createElement('versaoDados', '2.00')); $soapHeader = $gnre->createElement('soap12:Header'); @@ -73,7 +73,7 @@ public function toXml() { $loteGnre = $gnre->createElement('TLote_GNRE'); $loteXmlns = $gnre->createAttribute('xmlns'); - $loteXmlns->value = 'https://www.gnre.pe.gov.br'; + $loteXmlns->value = 'http://www.gnre.pe.gov.br'; $loteVersao = $gnre->createAttribute('versao'); $loteVersao->value = '2.00';