'SOAP url to service

I have to make an SOAP web-service and struggles to get the path right:

I am bound to use SOAP and I wish (The requirement states) the path to be: http://localhost:8080/wsdl/IMyService/ Instead of: http://localhost:8080/wsdl/IMyService/MyService.asmx as i have right now.

I am looking for the project-type or is it just a simple tag/setting that makes me able to achieve my goal. I am using Visual Studio 2022 if it helps.



Sources

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

Source: Stack Overflow

Solution Source