Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
203 views
Welcome To Ask or Share your Answers For Others

1 Answer

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

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...