DenysXavier / WSBoletoSantander

WS Boletos Santander são classes criadas para facilitar a integração entre aplicativos feitos em PHP e a geração de boletos online no banco Santander.
Apache License 2.0
45 stars 17 forks source link

Erro de comunicação #58

Open ShidoDeMisar opened 3 years ago

ShidoDeMisar commented 3 years ago

Olá pessoal boa tarde a todos! Eu estou enfrentando o seguinte erro:

Fatal error: Uncaught Exception in /home/storage/4/6d/8d/sgestaoescolar1/public_html/modules/BOLETOS/REGISTRO/class/ComunicadorCurlSOAP.php:25 Stack trace: #0 /home/storage/4/6d/8d/sgestaoescolar1/public_html/modules/BOLETOS/REGISTRO/class/BoletoSantanderServico.php(153): ComunicadorCurlSOAP->chamar('https://ymbdlb....', Array)

1 /home/storage/4/6d/8d/sgestaoescolar1/public_html/modules/BOLETOS/REGISTRO/class/BoletoSantanderServico.php(58): BoletoSantanderServico->executarServico('https://ymbdlb....', Object(XMLWriter))

2 /home/storage/4/6d/8d/sgestaoescolar1/public_html/modules/BOLETOS/REGISTRO/class/BoletoSantanderServico.php(26): BoletoSantanderServico->gerarTicket(Object(Boleto))

3 /home/storage/4/6d/8d/sgestaoescolar1/public_html/modules/BOLETOS/registroBoletos.php(49): BoletoSantanderServico->solicitarTicketInclusao(Object(Boleto))

4 {main} thrown in /home/storage/4/6d/8d/sgestaoescolar1/public_html/modules/BOLETOS/REGISTRO/class/ComunicadorCurlSOAP.php on line 25

Alguém consegue me ajudar com isso?

DenysXavier commented 3 years ago

Boa noite, @ShidoDeMisar!

Vendo apenas o que temos aqui, acredito que não dê para ajudar muito.

Aparentemente, uma Exception está sendo lançada pelo método solicitarTicketInclusao e não está sendo tratada.

Esse método está dentro de uma estrutura try-catch? Se estiver, o que vem na mensagem da Exception?