How to add a service reference to .asmx
<p>The team I am working on is using an ASP.NET Core 1.0 application using <code>net46</code> framework and we are needing to add a service reference to an <code>.asmx</code> legacy service that is maintained by a 3rd party.</p>
<p>We have not discovered a way to &quot;Add Service Reference...&quot; as we would have in the past. i.e. Right-click on the references under the project file and click &quot;Add Service Reference&quot;</p>
<p>The docs didn't seem to have any help as I searched <a href="https://docs.asp.net/en/latest/search.html?q=service+reference&amp;check_keywords=yes&amp;area=default" rel="nofollow noreferrer">https://docs.asp.net/en/latest/search.html?q=service+reference&amp;check_keywords=yes&amp;area=default</a> and got no results.</p>
<p>Has anyone done this yet and/or can provide documentation so that we can connect?</p>
<p>Would spinning up a separate solution not in ASP.NET Core 1.0 and providing a WebAPI be viable here if no one has done the above? Possible workaround: we are discussing.</p>
<p>Edit: Added what our targeted framework is.</p>