AI OnAI Off
It worked out-of-the box for me when I created a silverlight service on IIS 7 / Vista. What are you running on ?
I had this problem too on IIS6 running on Windows Server 2003. Turns out you need to remove the comment around this line in your web.config to make web service posts work (even on IIS6):
<!--<add name="IIS5WebServicePostModule" type="EPiServer.Web.IIS5WebServicePostModule, EPiServer" />-->
Hope this helps!
I found this solution very useful also Alexander. Thanks.
The problem I was experiencing was that running a debug build in Cassini (http://localhost:17001/webservice.asmx) would work fine, but as soon as the site was installed in IIS (5.1) (http://localhost/webservice.asmx) it would error.
I'm having a littel trouble trying to create a web service in EPiServer. My end goal is to be able t expose bits of functionlaity to a Silverlight Application from within the CMS so that my HTML site and my Silverlight app use the same logic. I found an article about creating a web service here, but I can't seem to get the thing working.
When I try to invoke the web service (http://localhost:17001/SilverlightServices/EPiServerHierarchy.asmx/GetMainNavigation) I get a 404 error. I'm guessing that teh VPP is taking over end getting flustered, but I can't for the life of me figure out how to make this work. Anyone know of a good areticle about having a web serivce in an EPiServer application?
Thanks