PAGUE 6 MESES
LEVE 12 MESES
GARANTIR DESCONTO

Fórum Add service reference - vb.net #503343

03/12/2014

0

Pessoal


Alguém já consumiu o Web Service da NFe (Consulta de Status do Web Service), estou utilizando o Visual Studio 2010 com vb.net e windows forms.

link https://nfe.fazenda.sp.gov.br/nfeweb/services/nfestatusservico2.asmx


Tentei até alterar o app.config, mais também não tive sucesso, caso alguém saiba agradeço desde já ?


<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<binding name="nfestatusservico2Soap12">
<security mode="Transport">
<transport clientCredentialType="None" proxyCredentialType="None" realm=""/>
<message clientCredentialType="UserName" algorithmSuite="Default"/>
</security>
</binding>
</configuration>


Veja o erro que está dando ?

The request was aborted: Could not create SSL/TLS secure channel.
Metadata contains a reference that cannot be resolved: 'https://nfe.fazenda.sp.gov.br/nfeweb/services/nfestatusservico2.asmx'.
The HTTP request was forbidden with client authentication scheme 'Anonymous'.
The remote server returned an error: (403) Forbidden.
If the service is defined in the current solution, try building the solution and adding the service reference again.
Controlesis Ltda

Controlesis Ltda

Responder

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar