IIS 7.5, Web Service and HTTP 405 error

后端 未结 6 1218
遇见更好的自我
遇见更好的自我 2020-12-01 19:27

I have a web service which I host on my machine. I use Windows 7 and IIS 7.5.

Problem: When the client tries to consume the web service, he/she ge

6条回答
  •  醉酒成梦
    2020-12-01 19:30

    For people who bump into this page but are making requests to a web application with aspx pages, instead of services, there's one important thing to note.

    If you make a fiddler http post request to http://localhost/MyApplication, it will throw status 405. But if you specify http://localhost/MyApplication/Default.aspx instead, it will respond correctly (with status 200)

    Hope this helps. I've been looking in the wrong place for an hour, debugging handlers, modules, webdav settings, http verbs, etc.

提交回复
热议问题