HCM – Integrador HCM - Erro: Unexpected end of file from server, ao executar o Web Service
Incidente
No Integrador HCM, existem alertas de sincronia senior x para hcm xt referente a solicitações e nos logs de sincronia (arquivo sync) do integrador HCM é retornada a mensagem: Erro ao chamar webservice. Caused by 1: Mensage send failed. Caused by 2: Unexpected end of file from server.
Causa
Este incidente ocorre pois o integrador esta fazendo a chamada do webservice em protocolo http e o webservice esta deployado em https.
Solução
Para que este incidente não ocorra, realize os passos a seguir:
1. Verifique se os webservices estão deployados em protocolo https pelo painel admin do glassfish ou acessando a url passada no log de sincronia, informando a sintaxe 'wsdl' ao final da mesma e modificando para https a url que hoje esta como http;
2. Acesse o SeniorConfigCenter que está localizado na pasta da raiz da aplicação;
3. Entre no menu Middleware / Web services;
4. No campo URL do servidor Java EE, altere a url para https, ou estará como http;
5. Clique no botão aplicar;
6. Reinicie o serviço de middleware;
7. Reinicie o serviço do Integrador HCM.
Atenção! Antes de realizar qualquer alteração, analise o impacto que poderá ter em outros lançamentos/processos do sistema.