I coded web service using ASP.NET and host it in server but when I open in browser give me this :
<%@ WebService Language="C#" CodeBehind="WSAdmin.asmx.cs" Class="WebApplication1.WSAdmin" %> and this my web.config :
<configuration> <system.web> <webServices> <protocols> <add name= " HttpGet"/> </protocols> </webServices> <compilation debug= "true"/> </system.web> <connectionStrings> <add name="data" connectionString= "My Connection String" <providerName= "System.Data.SqlClient"/> 