Endpoint not found

余生颓废 提交于 2019-12-12 02:42:05

问题


I have created a new WCF RIA service with OData exposed. I wanted to test it out.

My project name was ChinookSample and the namespace was ChinookSample.Web.Services

When I try to browse...

http://localhost:52878/Services/ChinookSample-Web-services-dsAlbumAndArtist.svc

I get the service page, but the moment I go for...

http://localhost:52878/Services/ChinookSample-Web-services-dsAlbumAndArtist.svc/OData

I get EndPoint not found. I have checked my Web.Config and that has the OData defined.

What is the correct way to troubleshoot this?

Also, <domainServices> tag has a squiggly saying ... System.ServiceModel has invalid Child element domainServices.

Any help is highly appreciated!


回答1:


Finally got the issue resolved. I missed the trailing / in the URL ...

http://localhost:52878/Services/ChinookSample-Web-services-dsAlbumAndArtist.svc/OData/



来源:https://stackoverflow.com/questions/3741858/endpoint-not-found

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!