Hosting a WCF service in a Windows service. Works, but I can't reach it from Silverlight.
Posted
by BaBu
on Stack Overflow
See other posts from Stack Overflow
or by BaBu
Published on 2010-05-07T09:34:07Z
Indexed on
2010/05/07
9:38 UTC
Read the original article
Hit count: 403
I've made me an application hosted WCF service for my Silverlight application to consume.
When I host the WCF service in a forms application everything works fine.
But when I host my WCF service in a windows service (as explained brilliantly here) I get the dreaded 'NotFound' Web Exception when I call it from Silverlight.
The 'WCF Test Client' tool does not complain. I'm' exposing a decent clientaccesspolicy.xml at root.
Yet Silverlight won't have it. I'm stumped. Anybody have an idea about what could be going on here?
© Stack Overflow or respective owner