I'm developing a web api and need to integrate with a service from a third party that is a WCF. I have the WSDL definition, I integrated it into my solution as a service reference, but it is pointing to a physical file on my PC.
How do I integrate this code, which is pointing to a local WSDL, with the service hosted in another environment? I have the url of the service (which does not have WSDL enabled or public, because when I add the service reference, I have an error informing that the service metadata could not be downloaded), but I do not know how to integrate with WCF.
If it was an api web, I would use HttpClient to integrate, but WCF I have no idea how.