NAV 2015 Webservices (simple) connection problem

I was preparing a training session about Dynamics NAV 2015 and I was using a Cronus database that was already installed in my computer.

I’ve added the Customer Card to Web Services and published it, just to test it. When I was going to connect to the webservice using .NET WS Studio, I got the error:

System.InvalidOperationException: General Error http://localhost:50220/DynamicsNAV80/WS/CRONUS%20International%20Ltd/Page/CustomerCard —> System.Net.WebException: There was an error downloading ‘http://localhost:50220/DynamicsNAV80/WS/CRONUS%20International%20Ltd/Page/CustomerCard’. —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:50220

Now what? Is it a firewall problem? The page was not published properly?

No, the problem is that I must enable the SOAP services in the NAV Server, which is not enabled by default.

webservices

After that, save the changes and restart the NAV Server.

Share this

Deixe um comentário

O seu endereço de email não será publicado. Campos obrigatórios marcados com *

Este site utiliza o Akismet para reduzir spam. Fica a saber como são processados os dados dos comentários.