FórumCategoria: Fórum - Perguntas e RespostasWebService – eFinanceira
Antony F Pessoa perguntou há 8 anos

Pessoal,
 
Estou utilizando o ambiente de desenvolvimento VB.NET.
 
Consegui chamar via browser o endereço, inclusive ele aparece a lista de certificados, e eu informa a sennha. 
https://preprod-efinanc.receita.fazenda.gov.br/WsEFinanceira/WsRecepcao.asmx
 
Mas ao tentar adicionar em WebReference, ocorreu o erro abaixo:
There was an error downloading ‘https://preprod-efinanc.receita.fazenda.gov.br/WsEFinanceira/WsRecepcao.asmx’.
The request was aborted: Could not create SSL/TLS secure channel.

Erro ao baixar
https://preprod-efinanc.receita.fazenda.gov.br/WsEFinanceira/WsRecepcao.asmx/$metadata’.
 
Alguém poderia me ajudar ?
At.
 
Antony

2 Respostas
Antony F Pessoa respondeu há 8 anos

Li em alguns fóruns que precisa alterar a app.config.
 
Tentei colocar algumas informações, mas ainda não deu certo.
 
<system.serviceModel>

<bindings>
<customBinding>
<binding name=”WsRecepcaoSoap12″>
<textMessageEncoding messageVersion=”Soap12″ />
<httpsTransport authenticationScheme=”Digest” requireClientCertificate=”true” />
</binding>
</customBinding>
</bindings>
<client>
<endpoint address=”https://efinanc.receita.fazenda.gov.br/WsEFinanceira/WsRecepcao.asmx&#8221;
binding=”customBinding” bindingConfiguration=”WsRecepcaoSoap12″
name=”WsRecepcaoSoap12″ />
</client>

</system.serviceModel>
 

CHRSTIANO SILVEIR MARISCO respondeu há 7 anos

confere no arquivo wsdl costumava faltar o “s” no http
<soap:address location=”http://efinanc.receita.fazenda.gov.br/WsEFinanceira/WsConsulta.asmx&#8221; />
</wsdl:port>