Follow me on social media:
hgmauri / registro-boleto-online-bradesco Goto Github PK
View Code? Open in Web Editor NEWIntegração com banco Bradesco de remessa de cobrança online em formato JSON (.NET Framework 4.6.1)
Integração com banco Bradesco de remessa de cobrança online em formato JSON (.NET Framework 4.6.1)
Olá, tudo bem?
Segui seu modelo para implementação da rotina de registro.
Porém tanto na URL de homologação quanto na de produção... eu sempre recebo Internal Server Error.
ServicePointManager.SecurityProtocol = (SecurityProtocolType) 3072;
var request = WebRequest.Create(uri);
request.Method = "POST";
request.ContentType = "application/pkcs7-signature";
request.ContentLength = sig.Length;
using (var requestStream = request.GetRequestStream())
{
requestStream.Write(sig, 0, sig.Length);
}
var response = request.GetResponse();
Retornar o erro quando chamo request.GetResponse
Existe algum motivo especial para o TryParse citado acima? Apenas o IsNullOrWhiteSpace
não seria suficiente?
Boa tarde, hgmauri.
Exemplo muito bom, código bem identado e bem comentado.
Gostaria da sua ajuda referente o significado ImpressaoDigitalCertificadoHomologacao localizado no app.config. Acredito que seja algum chave do certificado certo ? Como consigo ?
Desde já agradeço pela ajuda.
Atenciosamente,
Paulo Henrique
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.