Web Service Error
I have developed a web service in VS 2005. I published it and put it in webserver and then tried to load in my project as proxy class. It shows following error:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not create type 'Service'.
Line 1: <%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="Service" %>
Source File: /WebService/Service.asmx Line: 1
Please help me to solve it. Also tell me how to create a WSDL file using VS2005.