NF-e 3.10 Does MG do how to receive the return of Nfeautorizacaoloteasybc?

Asked

Viewed 406 times

2

I am trying this way (asynchronous), with the synchronous I also can not capture any status or return, but at least transmits the note to MG Suicide

With NfeRecepcaoMG
    .Url = "https://nfe.fazenda.mg.gov.br/nfe2/services/NfeAutorizacao?wsdl"
    .nfeCabecMsgValue = xCabecalho2
    .Timeout = 50000
    .ClientCertificates.Add(cert)
    .SoapVersion = Web.Services.Protocols.SoapProtocolVersion.Soap12
    .NfeAutorizacaoLoteAsync(NfeRecepcaoMGmsg)
End With

1 answer

1

You are not getting the return from Webservice. Try the following:

Option Infer On

With NfeRecepcaoMG
    .Url = "https://nfe.fazenda.mg.gov.br/nfe2/services/NfeAutorizacao?wsdl"
    .nfeCabecMsgValue = xCabecalho2
    .Timeout = 50000
    .ClientCertificates.Add(cert)
    .SoapVersion = Web.Services.Protocols.SoapProtocolVersion.Soap12
End With

Dim retorno = NfeRecepcaoMG.NfeAutorizacaoLoteAsync(NfeRecepcaoMGmsg)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.