Call an IIS Web Service without the .asmx extension

前端 未结 4 1107
逝去的感伤
逝去的感伤 2020-12-10 20:48

I have written a .NET web Service that is to be consumed by a client outside of my control (my server is a simulator for a live server written in PHP). The web service work

4条回答
  •  误落风尘
    2020-12-10 21:10

    You could also put it in a directory by itself, then in IIS set it as a default document.

    On server: C:/mywebsite.com/mywebservice/mywebservice.asmx

    In IIS set mywebservice.asmx as a default document

    On the web: http://mywebsite.com/mywebservice

提交回复
热议问题