none
我的web services客户端问题出在什么地方? RRS feed

  • 问题

  • Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0246: The type or namespace name 'getstudent' could not be found (are you missing a using directive or an assembly reference?)

    Source Error:

     
    Line 21:       catch (Exception) { /* ignored */ }
    
    Line 22: 
    
    Line 23:       getstudent.students service = new getstudent.students();
    
    Line 24:       //change this URL if the location of the Web service changes
    
    Line 25:       service.Url = http://localhost:808/website/service.asmx;
    本人使用vs2005书写Web服务客户端程序,完全安装教科书上的“增加web引用”的办法自动生成,但一运行就出错。在我机器上所有的客户端程序都出现上述错误,web服务引用找不到,无法理解?请求帮助!
    但我的服务器程序没有问题。
    2009年4月24日 6:48

答案

全部回复