コード例 #1
0
 public static ITRetConsReciNFe ConsultarProcessamentoEnvelope(
     System.Web.Services.Protocols.SoapHttpClientProtocol oServico,
     ITConsReciNFe oConsReciNFe, Parametro oParam, VersaoXML versao)
 {
     return((ITRetConsReciNFe)XMLUtils.CarregaXML_STR(ExecutaServico(oServico, oConsReciNFe, oParam),
                                                      versao, "TRetConsReciNFe"));
 }
コード例 #2
0
        public static KeyValuePair <string, ITRetConsReciNFe> Interface_ConsultarProcessamentoEnvelope(
            System.Web.Services.Protocols.SoapHttpClientProtocol oServico,
            ITConsReciNFe oConsReciNFe, Parametro oParam, VersaoXML versao)
        {
            var Key = ExecutaServico(oServico, oConsReciNFe, oParam);

            try
            {
                var Value = (ITRetConsReciNFe)XMLUtils.CarregaXML_STR(Key, versao, "TRetConsReciNFe");
                return(new KeyValuePair <string, ITRetConsReciNFe>(Key, Value));
            }
            catch (Exception ex)
            {
                Key = ex.Message + " - " + Key;
                return(new KeyValuePair <string, ITRetConsReciNFe>(Key, null));
            }
        }
コード例 #3
0
 public static ITRetConsReciNFe ConsultarProcessamentoEnvelope(SoapHttpClientProtocol oServico, ITConsReciNFe oConsReciNFe, Parametro oParam, VersaoXML versao)
 {
     return(ExecutaServico <ITRetConsReciNFe, ITConsReciNFe>(oServico, TService.RetAutorizacao, oConsReciNFe, oParam, versao, "TRetConsReciNFe"));
 }