Jump to content

dev botao

  • Este tópico foi criado há 2361 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Posted

Bom Dia,

Ao consultar o protocolo pelo web service

<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:v1="http://www.esocial.gov.br/schema/lote/eventos/envio/v1_1_1" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<v1:ConsultarLoteEventos>
<v1:loteEventos>
<eSocial xmlns="http://www.esocial.gov.br/schema/lote/eventos/envio/consulta/retornoProcessamento/v1_0_0">
<consultaLoteEventos>
<protocoloEnvio>1.2.201807.0000000000024114196</protocoloEnvio>
</consultaLoteEventos>
</eSocial>
</v1:loteEventos>
</v1:ConsultarLoteEventos>
</soap:Body>
</soap:Envelope>

está aparecendo o seguinte erro

<?xml version="1.0"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</faultcode>
<faultstring xml:lang="en-US">The message with Action 'http://www.esocial.gov.br/servicos/empregador/lote/eventos/envio/consulta/retornoProcessamento/v1_1_1/ServicoConsultarLoteEventos/ConsultarLoteEventos' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</faultstring>
</s:Fault>
</s:Body>
</s:Envelope>

Alguém sabe como resolver este problema?

Agradeço,

Danilo Junior

Posted (edited)

Bom dia,

Estou usando o exemplo do e-social do Acbr e está atualizado. Já fiz um teste criando um novo projeto só para a consulta do protocolo e apareceu o mesmo erro.Tem como mandar as URLs e NameSpace para eu testar?

 

Edited by Danilo Junior
Posted

Boa Noite,

Baixei os fontes do e-Social em outra máquina e comparei com os meus que aparentemente estavam atualizados. Na comparação, o soapaction estava diferente nos fontes que estou usando. Corrigi e agora deu certo.

FPServico :=
    'http://www.esocial.gov.br/servicos/empregador/lote/eventos/envio/consulta/retornoProcessamento/v1_1_0/ServicoConsultarLoteEventos/ConsultarLoteEventos';

No meu fonte estava v_1_1_1 e o correto era v1_1_0.

Obrigado Pela Atenção,

Danilo Junior

  • Like 1
  • Este tópico foi criado há 2361 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

The popup will be closed in 10 seconds...