WCF Service Returning “Method Not Allowed”

前端 未结 9 1579
庸人自扰
庸人自扰 2020-11-27 05:04

In the process of developing my first WCF service and when I try to use it I get \"Method not Allowed\" with no other explanation.

I\'ve got my interface set up wit

9条回答
  •  春和景丽
    2020-11-27 05:43

    It sounds like you're using an incorrect address:

    To access the Service I enter http://localhost/project/myService.svc/FileUpload

    Assuming you mean this is the address you give your client code then I suspect it should actually be:

    http://localhost/project/myService.svc
    

提交回复
热议问题