I have a web service project that is referenced by another project. In
the web service I have a function that I want to use to populate a
telerik radTreeView. The webService builds successfully but if I try to
update/add the web service to my main project I get this error:
Metadata contains a reference that cannot be resolved: 'http://localhost:49304/Service1.asmx'. There was an error downloading 'http://localhost:49304/Service1.asmx/_vti_bin/ListData.svc/$metadata'.
The request failed with the error message:
Request format is unrecognized for URL unexpectedly ending in '/_vti_bin/ListData.svc/$metadata'.This is a simplified version of the web service class I'm writing:
namespace MCMwebservice
{`
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
[ScriptService]
public class Service1 : System.Web.Services.WebService
{
[WebMethod]
public bool getBool(RadTreeView TreeSites, string Demogs) { //dummy method for now
return true;
}
}
If I remove the telerik radtreeview parameter then it will update, so I know that's the issue. The both projects have the telerik.web.ui and skins dll. Is there a certain reference or tag I need to add to my main project or in my web.config? Please Help!
thanks
Will