Error - Cannot find the Web Service RRS feed

  • Question

  • I have created a Web Service using VWD 2005 and verified that it is working correctly. I am now trying to access this service from a J# application (named HelloClient) but I get the error.

    In the HelloClient project, I have created a Web Reference that I have named LeService, which points to http://localhost:8081/HelloService/Service.asmx. On Form1.jsl, I have added a button for which I have the following event handler:

        private void button1_Click(Object sender, System.EventArgs e)
            LeService.Service myHelloService = new LeService.Service();

    When I build the project, I get the following error: Cannot find type 'LeService.Service'

    Any ideas why I get this error?


    Friday, January 20, 2006 6:19 AM


  • Did you add the Web Service that you have created to HelloClient project. You can add Web References by doing following steps

    - Open Solution Explorer

    - Select "HelloClient" project and expand

    - Right click on "References" and execure "Add Web Reference..."

    - From the Wizard select your Web Services 

    Please let us know if this works or not. 

    Friday, January 20, 2006 8:41 AM