Examples of TConsStatServ


Examples of br.com.caelum.stella.nfe.xsd.status.TConsStatServ

    cabec.setVersaoDados(versao.getVersao());
    Holder<NfeCabecMsg> holderCab = new Holder<NfeCabecMsg>(cabec);

    NfeDadosMsg dados = objectFactoryWS.createNfeDadosMsg();

    TConsStatServ status = new TConsStatServ();
    status.setCUF(sp.getCodigo());
    status.setTpAmb("2");
    status.setVersao(versao.getVersao());
    status.setXServ("STATUS");

    dados.getContent().add(objectFactoryXSD.createConsStatServ(status));
    NfeStatusServico2Soap12 servico = new NfeStatusServico2().getNfeStatusServico2Soap12();
    NfeStatusServicoNF2Result result = servico.nfeStatusServicoNF2(dados, holderCab);
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.