3
I’m trying to add this service in VS 2013:
https://www3.webiss.com.br/aracajuse_wsnfse/NfseServices.svc
But it is not possible to add this URL as a service. Normally the URL’s I add do not have the .svc in the end.
Error:
There was an error downloading 'https://www3.webiss.com.br/aracajuse_wsnfse/NfseServices.svc?wsdl/_vti_bin/ListData.svc/$Metadata'.
The request failed with HTTP status 403: Forbidden.
I tried to add as much as Service and as Webreference, but none works.
The URL is not
https://www3.webiss.com.br/aracajuse_wsnfse/NfseServices.svc?wsdl/_vti_bin/ListData.svc
?– Jéf Bueno
Same mistake, I had tried with that too. Another thing I tried was to add
?wsdl
at the end of the URL but still has the same error.– Nicke Manarin
Do you have any valid digital certificate installed on the machine?
– Jéf Bueno
I have a certificate, it expires next month, I selected it to when entering the URL.
– Nicke Manarin
Check the date and time of your computer, check the time of your phone to be more accurate. @Nickemanarin
– rubStackOverflow
@Hstackoverflow All synchronized. Checked with an online clock.
– Nicke Manarin
@Nickemanarin '.svc' is WCF(Windows Communication Foundation). Take a look here. http://www.devmedia.com.br/wcf-windows-communication-foundation-parte-001-criando-o-servico/18137
– Marconi
@Marconi I am trying to consume a third party service. I will get another certificate to do more tests. It is the way.
– Nicke Manarin
@Nickemanarin gives a look at the tutorial I left for you. I think it can help you.Ow so try to read about WCF.
– Marconi
@Nickemanarin A super silly question. Do you have access to this service? As little as I know with some small things I do about state bills, you need a certification that works properly, without a certification you will not have access with the city and will give the 403 return, ie the lack of credential. Check the certificate that is sure to be this the problem.
– Daniel Nicodemos
It’s been a while since I had this problem, but if I remember correctly, I had an Aracaju certificate, but now I can’t remember if it was valid at the time. I gave up because the client did not accept it. At the time I already knew about it, because I worked with other states with NF-e. ;)
– Nicke Manarin