I've used the Walkthrough: Creating a Custom ASP.NET Web Service from MSDN to create my cusom WCF Service and deploy to my Sharepoint 2010 server.
http://myserver/_vti_bin/randomchatwebservice.asmx seems to work fine and it shows service methods. But I get "The webpage cannot be found" when I try to reach http://myserver/_vti_bin/randomchatwebservice.asmx?wsdl or http://myserver/_vti_bin/randomchatwebservice.asmx?disco.
I have RandomChatWebServicedisco.aspx and RandomChatWebServicewsdl in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI and spdisco.aspx file has
<contractRef
ref=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(
spWeb.Url + "/_vti_bin/RandomChatWebService.asmx?wsdl"),
Response.Output); %>
docRef=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(
spWeb.Url + "/_vti_bin/RandomChatWebService.asmx"),
Response.Output); %>
xmlns="http://schemas.xmlsoap.org/disco/scl/" />
<discoveryRef
ref=<% SPHttpUtility.AddQuote(SPHttpUtility.HtmlEncode(
spWeb.Url + "/_vti_bin/RandomChatWebService.asmx?disco"),
Response.Output); %>
xmlns="http://schemas.xmlsoap.org/disco/" />
definitions. What seems to be wrong?
