1
I already added the references in the project, my code is like this:
public string EnviaSefaz(XmlNode xml, string url, string metodo)
{
try
{
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Servico01.NfeAutorizacao autorizar = new Servico01.NfeAutorizacao();
Servico01.nfeCabecMsg cabecalho = new Servico01.nfeCabecMsg();
cabecalho.cUF = "29";
cabecalho.versaoDados = "3.10";
autorizar.ClientCertificates.Add(Obter());
string retorno = autorizar.nfeAutorizacaoLote(xml).InnerText;
return retorno;
}
catch (WebException ex)
{
throw;
}
}
the result of this return variable is always: "2SEFAZBA_NFENW_v6.0.0999Rejection: Unmodified error292018-05-03T23:57:40-03:00"
Webservice: https://hnfe.sefaz.ba.gov.br/webservices/NfeAutorizacao/NfeAutorizacao.asmx
Do you have any suggestions of what it might be? I have already checked on the web site...
grateful for the attention...