Ir para conteúdo
  • Cadastre-se

dev botao

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

Recommended Posts

Postado

Bom dia

Tentei enviar um xml gerado pelo demo do ACBr eSocial usando um aplicativo chamado SoapUi e o retorno que tenho é este:

<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/v1_0_0/ServicoEnviarLoteEventos/EnviarLoteEventos' 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 o que significa ?

Grato

Postado

@Everton Weyand bom dia, utilize o link : svn://svn.code.sf.net/p/acbr/code/branches

Após o download, localize na seq. de pastas: \Exemplos\ACBrDFe\ACBreSocial2.0\Delphi

Obs: Necessário instalar o componente do esocial se não o tiver.

Após o download, localize na seq. de pastas: \Pacotes\Delphi\ACBrDFe\ACBreSocial2.0

 

Postado (editado)
2 horas atrás, Hudson G Leite disse:

@Everton Weyand bom dia, utilize o link : svn://svn.code.sf.net/p/acbr/code/branches

Após o download, localize na seq. de pastas: \Exemplos\ACBrDFe\ACBreSocial2.0\Delphi

Obs: Necessário instalar o componente do esocial se não o tiver.

Após o download, localize na seq. de pastas: \Pacotes\Delphi\ACBrDFe\ACBreSocial2.0

 

Obrigado ! Tentei instalar o DPK mas não funcionou, somente dá opção compilar e não install,  só compilando não funciona.  Tenho que fazer algo específico ? Já tenho o Acbr instalado tenho que desinstalar ? Baixei o branches em outra pasta e tentei usar mas não deu certo.

Editado por Everton Weyand
Postado
1 hora atrás, GuilhermeCosta disse:

@Everton WeyandProject>Options>Resource Compiler > Description no quadro "Usage options" deve estar marcada a opção "Designtime and runtime".

Isso pode mudar um pouco dependendo da versão do Delphi.

Muito obrigado Guilherme, funcionou perfeito com a sua dica.

Postado
Em 28/07/2017 at 09:08, Paulo Souza disse:

Bom dia

Tentei enviar um xml gerado pelo demo do ACBr eSocial usando um aplicativo chamado SoapUi e o retorno que tenho é este:

<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/v1_0_0/ServicoEnviarLoteEventos/EnviarLoteEventos' 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 o que significa ?

Grato

Você pode disponibilizar o xml que está sendo enviado já com o envelope?

Postado

Bom dia guilhermedoj, segue o xml:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://www.esocial.gov.br/schema/lote/eventos/envio/v1_1_0">
   <soapenv:Body>
      <v1:EnviarLoteEventos>
         <v1:loteEventos>
             <eSocial xmlns="http://www.esocial.gov.br/schema/lote/eventos/envio/v1_1_0">
                <envioLoteEventos grupo="1">
                   <ideEmpregador>
                      <tpInsc>2</tpInsc>
                      <nrInsc>0123456789</nrInsc>
                   </ideEmpregador>
                   <ideTransmissor>
                      <tpInsc>2</tpInsc>
                      <nrInsc>0123456789</nrInsc>
                   </ideTransmissor>
                   <eventos>
                      <evento id="ID1012345678900002017062915274786103">
                          <eSocial xmlns="http://www.esocial.gov.br/schema/evt/evtInfoEmpregador/v02_02_02"><evtInfoEmpregador Id="ID1012345678900002017072514581986103"><ideEvento><tpAmb>2</tpAmb><procEmi>1</procEmi><verProc>1.0</verProc></ideEvento><ideEmpregador><tpInsc>2</tpInsc><nrInsc>0123456789</nrInsc></ideEmpregador><infoEmpregador><exclusao><idePeriodo><iniValid>2015-05</iniValid><fimValid>2099-12</fimValid></idePeriodo></exclusao></infoEmpregador></evtInfoEmpregador><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsasha256"/><Reference URI="#ID1012345678900002017072514581986103"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>CFJEIy1dUko99nNUW/ICvG9ZNoij0o9IOhdP6Nt1j1k=</DigestValue></Reference></SignedInfo><SignatureValue>D7A8FBB307D7809469CA9ABCB0082E4F8D5651E46D3CDB762D02D0BF37C9E592</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIH4TCCBcmgAwIBAgIIJyIXAQRNPvIwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwEQYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCcmFzaWxlaXJhIHYyMRIwEAYDVQQLEwlBQyBTT0xVVEkxGzAZBgNVBAMTEkFDIFNPTFVUSSBNdWx0aXBsYTAeFw0xNzAxMDUxMzQxMzJaFw0xODAxMDQxNzQ4MDBaMIHwMQswCQYDVQQGEwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE0MDIGA1UECxMrQXV0b3JpZGFkZSBDZXJ0aWZp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LsyV7FzqgJ4CO9rtRLRzikwv7cpgvrfetxiL7k+BZWG9aNcYOFVI9o2s1cboO6zkt42jSEz2dNmZZjxXB3HrYW95gIHcIOeW3PJUtk+YQAigCdI3vCKxUeWCRhlc1oc+8QYBqWwhakIORYOXf1B4s2u4QrtSHHb6Jaeaqt8XyzfHZk+AGT3/KmHNtHJg=</X509Certificate></X509Data></KeyInfo></Signature></eSocial>
                      </evento>
                   </eventos>
                </envioLoteEventos>
             </eSocial>
         </v1:loteEventos>
      </v1:EnviarLoteEventos>
   </soapenv:Body>
</soapenv:Envelope>


Grato

 

Postado
5 minutos atrás, Paulo Souza disse:

Bom dia guilhermedoj, segue o xml:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://www.esocial.gov.br/schema/lote/eventos/envio/v1_1_0">
   <soapenv:Body>
      <v1:EnviarLoteEventos>
         <v1:loteEventos>
             <eSocial xmlns="http://www.esocial.gov.br/schema/lote/eventos/envio/v1_1_0">
                <envioLoteEventos grupo="1">
                   <ideEmpregador>
                      <tpInsc>2</tpInsc>
                      <nrInsc>0123456789</nrInsc>
                   </ideEmpregador>
                   <ideTransmissor>
                      <tpInsc>2</tpInsc>
                      <nrInsc>0123456789</nrInsc>
                   </ideTransmissor>
                   <eventos>
                      <evento id="ID1012345678900002017062915274786103">
                          <eSocial xmlns="http://www.esocial.gov.br/schema/evt/evtInfoEmpregador/v02_02_02"><evtInfoEmpregador Id="ID1012345678900002017072514581986103"><ideEvento><tpAmb>2</tpAmb><procEmi>1</procEmi><verProc>1.0</verProc></ideEvento><ideEmpregador><tpInsc>2</tpInsc><nrInsc>0123456789</nrInsc></ideEmpregador><infoEmpregador><exclusao><idePeriodo><iniValid>2015-05</iniValid><fimValid>2099-12</fimValid></idePeriodo></exclusao></infoEmpregador></evtInfoEmpregador><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsasha256"/><Reference URI="#ID1012345678900002017072514581986103"><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><DigestValue>CFJEIy1dUko99nNUW/ICvG9ZNoij0o9IOhdP6Nt1j1k=</DigestValue></Reference></SignedInfo><SignatureValue>D7A8FBB307D7809469CA9ABCB0082E4F8D5651E46D3CDB762D02D0BF37C9E592</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIH4TCCBcmgAwIBAgIIJyIXAQRNPvIwDQYJKoZIhvcNAQELBQAwgYkxCzAJBgNVBAYTAkJSMRMwEQYDVQQKEwpJQ1AtQnJhc2lsMTQwMgYDVQQLEytBdXRvcmlkYWRlIENlcnRpZmljYWRvcmEgUmFpeiBCcmFzaWxlaXJhIHYyMRIwEAYDVQQLEwlBQyBTT0xVVEkxGzAZBgNVBAMTEkFDIFNPTFVUSSBNdWx0aXBsYTAeFw0xNzAxMDUxMzQxMzJaFw0xODAxMDQxNzQ4MDBaMIHwMQswCQYDVQQGEwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE0MDIGA1UECxMrQXV0b3JpZGFkZSBDZXJ0aWZpY2Fkb3JhIFJhaXogQnJhc2lsZWlyYSB2MjESMBAGA1UECxMJQUMgU09MVVRJMRswGQYDVQQLExJBQyBTT0xVVEkgTXVsdGlwbGExGjAYBgNVBAsTEUNlcnRpZmljYWRvIFBKIEExMUkwRwYDVQQDE0BBUVVBTUVDIElORFVTVFJJQSBFIENPTUVSQ0lPIERFIEVRVUlQQU1FTlRPUyBMVERBOjIxOTk4NDcyMDAwMTU1MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmI2K2/nNg5/iHdaG8VYG4o9G4+8BcSDG99YKBZy3DD/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nZ3MuY29tLmJyoC0GBWBMAQMCoCQTIk1PTklDQSBNQU5HSU5JIEdVVEZSRVVORCBGT1JNSUNPTEGgGQYFYEwBAwOgEBMOMjE5OTg0NzIwMDAxNTWgOAYFYEwBAwSgLxMtMDExMjE5NjMwNzc5Mzk4MDg0MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwoBcGBWBMAQMHoA4TDDAwMDAwMDAwMDAwMDANBgkqhkiG9w0BAQsFAAOCAgEAhqye2unEG1N2tijBR6ydgoEt3QQ3t7aW+gUKF8m7Jrux9bMIv2zqPCXiQvc6xNC+wT4UWjUTRJlfVkW8r4UPmeSPgJgC9yTVL8xHk+eeCHd57iOJN5d9ix+xqj8Xqwe6W9r2EDH+dad4awuOCHtD5OlGLcd2L/fwImqR62VrXfrMbu8c9zyLKk4qnpvjvJA4K4ym5UscCMw9t5KOGrQ66psMvFp3UFsqFj5YQ43IGPuU8XPSVSTlMO/2CMZl40RTutuAUnxmZJ7EPEdrate9l6au87mr2Ku168EIoM+vURlPhdptjnYIvwr60Vky3mZYBafippOWDZn05nVsM5SOUlnaaOmOz0YoRUkhqDATWhhdfvG0EWnFz3LGvDMrUSsW9WT6kLAf9aHhdxEvd5Jv/XenrPKwAKyZcMOGxzO4TudCx+OISvevQIe8idvXaHd0RsxyyoZAFB3+S08MGxWiEWbbgtd+yVBuR9IDWaKT7FWUr5jLsyV7FzqgJ4CO9rtRLRzikwv7cpgvrfetxiL7k+BZWG9aNcYOFVI9o2s1cboO6zkt42jSEz2dNmZZjxXB3HrYW95gIHcIOeW3PJUtk+YQAigCdI3vCKxUeWCRhlc1oc+8QYBqWwhakIORYOXf1B4s2u4QrtSHHb6Jaeaqt8XyzfHZk+AGT3/KmHNtHJg=</X509Certificate></X509Data></KeyInfo></Signature></eSocial>
                      </evento>
                   </eventos>
                </envioLoteEventos>
             </eSocial>
         </v1:loteEventos>
      </v1:EnviarLoteEventos>
   </soapenv:Body>
</soapenv:Envelope>


Grato

 

Assinou utilizando o Acbr ?

  • Moderadores
Postado
20 horas atrás, Joceandro Perin disse:

Boa tarde moçada,

@Juliomar Marchetti, @GuilhermeCosta Ajustei fonte do evento S-1020 no create do objeto TDadosLotacao para não criar o objeto TfInfoEmprParcial, pois esse registro é opcional conforme layout 2.3 e como estava sendo criado sempre, se deixar sem informação da erro de validação.. segue o fonte.. Abraços..
 

eSocial_S1020.pas

no svn

  • Curtir 1
Consultor SAC ACBr Juliomar Marchetti
 

Projeto ACBr

skype: juliomar
telegram: juliomar
e-mail: [email protected]
http://www.juliomarmarchetti.com.br
MVP_NewLogo_100x100_Transparent-02.png
 

 

Postado (editado)

Pessoal bom tarde
quem conseguiu bater no WebService e como mandaram essa informação 
Alguem tem exemplos?
Obrigado

Editado por hnq_campos
  • Este tópico foi criado há 2672 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.
Visitante
Este tópico está agora fechado para novas respostas
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.