开发者

Why am I getting 404 on my web service locally

开发者 https://www.devze.com 2023-01-18 12:19 出处:网络
I am working with a web service written using .NET wcf.When running locally, I can go to the wsdl by going to the 开发者_开发技巧url of the svc file but I get a 404 error when I try to go to one of th

I am working with a web service written using .NET wcf. When running locally, I can go to the wsdl by going to the 开发者_开发技巧url of the svc file but I get a 404 error when I try to go to one of the service methods ex Api.svc/GetPrice

Any thoughts about what could be causing this? The service is running on production. (I just need to fix a bug with the data.)


Difficult to say based on the information you've provided, but have you tried to ensure that IIS and WCF are correctly installed and registered? I've forgotten to do this before and I believe it results in a 404.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号