This is a migrated thread and some comments may be shown as answers.

webService reference wont update when I add a radtreeView?

0 Answers 85 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Will
Top achievements
Rank 1
Will asked on 24 Aug 2013, 01:14 AM
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

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Will
Top achievements
Rank 1
Share this question
or