Ir para conteúdo
  • Cadastre-se

guilhermedoj

Membros
  • Total de ítens

    15
  • Registro em

  • Última visita

Posts postados por guilhermedoj

  1. Está sendo enviado o método ConsultarStatusOperacional quando pedido o status operacional com o integrador, o mesmo retorna a informação de CFE Pendentes 0 de forma errada, ao mudar o método para ConsultarStatusOperacionalMFE o retorno vem correto.

    ACBrSATMFe_integrador
    Linha 268 

    function TACBrSATMFe_integrador_XML.ConsultarStatusOperacional : String ;
    begin
      FIntegrador.Clear;
      FIntegrador.NomeComponente := cNomeComponente;
      FIntegrador.NomeMetodo := 'ConsultarStatusOperacionalMFE';
      FIntegrador.Parametros.Values['codigoDeAtivacao'] := codigoDeAtivacao;
      Result := FIntegrador.Enviar;
    end ;

  2. Também pensei ser mas já conferir e ta ok

     

               URL := 'https://webservices.producaorestrita.esocial.gov.br/servicos/empregador/enviarloteeventos/WsEnviarLoteEventos.svc?wsdl';

               SoapAction := 'http://www.esocial.gov.br/servicos/empregador/lote/eventos/envio/v1_1_0';

     

  3. Recebi esse retorno, alguém já viu?

     

    <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_1_0' 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>

  4. Em 20/07/2017 at 16:35, Leivio Fontenele disse:

    Pessoal, Deu certo! Após um tempo com problemas de certificado e depois de Env. SOAP  Inválido. Conseguir fazer o envio do evento S1000  e receber um retorno.

    Agora vou implementar o método LerXML da Classe TRetProcLote.

    Valeu.

     

    Retorno.xml

     

    Amigo você poderia disponibilizar também o xml que enviou já com o envelope?

  5. 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?

  6. Pessoal vou precisar trabalhar com ws estilo Nfe, então pra adiantar os estudos tentei retornar o status dos ws da nfe.

    Importei o wsdl no delphi

    e tentei o seguinte código

     

    var
    _ccSoap : NfeStatusServico2Soap;
    _rio : THTTPRIO;
    xml : TXMLData;
    b : tstringlist;
    begin
    _rio := THTTPRIO.Create(nil);
    _rio.OnBeforeExecute := Self.httpRioBeforeExecute;
    _rio.OnAfterExecute := Self.httpRioAfterExecute;
    _ccSoap := GetNfeStatusServico2Soap(false,EmptyStr,_rio);
    b := tstringlist.Create;
    b.LoadFromFile(extractfilepath(application.ExeName)+'teste.xml');
    xml := TXMLData.Create;
    xml.LoadFromXML(utf8encode(b.Text));
    try
    xml := _ccSoap.nfeStatusServicoNF2(xml);
    finally
    _ccSoap := nil;
    end;
     

     

    mas da esse erro:
    Está operação não pode ser executada com um nó do tipo XMLDECL

     

    Preciso também assinar o xml alguém ajudar e dizer alguma rotina do acbr que possa aproveitar pra facilitar isso.

×
×
  • 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.