-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SOAP-ERROR no buscaCliente() #23
Comments
@vitalibr tenta colocar o WSDL local. Já fez isso? |
@stavarengo eu tentei e não deu certo, o estranho foi que troquei a implementação do método getSoapClient() e funcionou. Fiz assim: public static function getSoapClient() Minhas configuraçoes php.ini está habilitado: |
O problema está no certificado do ambiente de homologação, conforme o link a seguir: http://grab.by/N7mG O que você pode tentar fazer, é ignorar o certificado ssl (para fins de testes), conforme thread do stackoverflow: http://stackoverflow.com/questions/8443618/disable-certificate-verification-in-php-soapclient Abs, |
Pessoal estou na dúvida. |
@stavarengo aparentemente não. você não quer mesclar? aparentemente isso acontece com a OpenSSL > 1.0. Atualizei meu php do 5.5 pro 5.6 e comecou a quebrar. Parece que o @vitalibr resolveu a sacada e até postou no stack-overflow http://stackoverflow.com/questions/34609448/soap-error-parsing-wsdl-couldnt-load-from-xampp Você solta o hotfix? Obg |
@stavarengo facilitei sua vida com um PR #38 |
Pronto Gustavo, valeu. On Mon, Mar 14, 2016 at 5:55 PM, Gustavo Bobrow notifications@github.com
Rafael Stavarengo |
Estou tentando executar o exemplo do buscaCliente()
http://127.0.0.1:8080/php-sigep/exemplos/buscaCliente.php
e estou recebendo o erro SOAP-ERROR
object(PhpSigep\Services\Result)#10 (6) {
["isSoapFault":protected]=>
bool(true)
["errorCode":protected]=>
int(0)
["errorMsg":protected]=>
string(254) "SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://apphom.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl' : failed to load external entity "https://apphom.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl"
"
["result":protected]=>
NULL
["soapFault":protected]=>
NULL
["_failIfAtributeNotExiste":protected]=>
bool(true)
}
The text was updated successfully, but these errors were encountered: