IIS 7.5, Web Service and HTTP 405 error

后端 未结 6 1085
遇见更好的自我
遇见更好的自我 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:45

    After hours of struggling, this is final solution that helped me (tested from fiddler):

    1. On IIS 7.5 -> YourWebsite -> Handler Mappings
    2. Choose "Add module mapping" option on the right side of the panel
    3. In "Request path" field enter *.wsdl
    4. In "Module" field enter "ProtocolSupportModule"
    5. Click on "Request restrictions" and go to Verbs tab
    6. Enter POST verb
    7. Save changes

    End voila, fiddler no longer answers with 405 but with happy 200.

提交回复
热议问题