'Create reference with API endpoint in VS

I'm trying to add a reference to a API endpoint with a WCF Web Service Reference in VS2017. Somehow any API URI I try to add there gives me errors or it just try to connect endlessly without success. What do I do wrong? I need to make a connection with a endpoint so I can write a data exchange with it. I do have the API server adress from a swagger documentation.

Edit. I did found out that the WCF REference is working only with SOAP endpoints while I need to connect to a JSON one... So the question would be like to how connect with a JSON endpoint.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source