Não entendo...
Fazendo testes em 2 locais (127.0.0.1 = Win7 e Online = Hospedagem
Kinghost na plataforma Linux)
Eu consigo:
Assina = OK nos 2
Valida = Erro no Online e OK = localhost
Envia = Erro nos 2
No valida do Online, o mesmo da esse erro no valida.
Erro 1818: Internal error: xmlSchemaIDCRegisterMatchers, Could not
find an augmented IDC item for an IDC definition. Erro 1818: Internal
error: xmlSchemaValidateElem, calling xmlSchemaValidateElemDecl().
Erro 1818: Internal error: xmlSchemaDocWalk, calling
xmlSchemaValidateElem().
Após isso eu copiei o arquivo da pasta rejeitadas para a validadas e
mandei enviar...
Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O
warning : failed to load external entity "?WSDL" in /home/agilecti/www/
mfr/b2stoknfephp/libs/ToolsNFePHP.class.php on line 2233
tools 1417 retornoArray ( [0] => SOAP-ERROR: Parsing WSDL: Couldn't
load from '?WSDL' : failed to load external entity "?WSDL" )
Ele não localiza a URL conforme a classe. Pq?
localhost quando eu mando imprimir $this->aURL['NfeRecepcao']['URL']
ele sai
https://homologacao.nfe.sefazvirtual.rs.gov.br/ws/Nferecepcao/NFeRecepcao2.asmx
Online sai em branco... ;/
Só que localhost ele da o erro no envio:
Array ( [0] => 17110102899023000105550020000000171640893664-nfe.xml )
tools 1417 retornoArray ( [0] => SOAP-ERROR: Parsing WSDL: Couldn't
load from '
https://homologacao.nfe.sefazvirtual.rs.gov.br/ws/
Nferecepcao/NFeRecepcao2.asmx?WSDL' : failed to load external entity
"
https://homologacao.nfe.sefazvirtual.rs.gov.br/ws/Nferecepcao/
NFeRecepcao2.asmx?WSDL" )
Se eu tentar abrir o url
https://homologacao.nfe.sefazvirtual.rs.gov.br/ws/Nferecepcao/NFeRecepcao2.asmx?WSDL
no navegador, aparece o XML OK! para os navegadores Morizza Firefox e
Internet Explorer:
Se eu modificar no config.php o estado de origem para ‘SVRS’ ou ‘RS’
ou seja, utilizar os webservers do rio grande do sul, o erro
continua...
Na versão localhost
Array ( [0] => 17110102899023000105550020000000171640893664-nfe.xml )
tools 1417 retornoArray ( [0] => SOAP-ERROR: Parsing WSDL: Couldn't
load from '
https://homologacao.nfe.sefaz.rs.gov.br/ws/NfeRecepcao/
NfeRecepcao.asmx ?WSDL' : failed to load external entity "https://
homologacao.nfe.sefaz.rs.gov.br/ws/NfeRecepcao/NfeRecepcao.asmx%20?
WSDL" )
Na versão online (kinghost)
Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O
warning : failed to load external entity "?WSDL" in /home/agilecti/www/
mfr/b2stoknfephp/libs/ToolsNFePHP.class.php on line 2233
tools 1417 retornoArray ( [0] => SOAP-ERROR: Parsing WSDL: Couldn't
load from '?WSDL' : failed to load external entity "?WSDL" )