Author: bobothebugbear | Posted on: 8/18/2009 11:07:49 AM | Views : 284

I have a web service that can be browsed to, to expose the WSDL.  But when I add it as a webreference, it does not expose any of the public functions.  To restate, the web service runs fine if I browse directly to it in IE.  When I add it as a webreference the public functions don't show.  Here is the top part of the web server.
<%@ WebService Language="C#" Class="srvBatchReportPrinting" %> using System; using System.IO; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Web.Services; [WebService(Namespace = "http://localhost/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. // [System.Web.Script.Services.ScriptService] public class srvBatchReportPrinting : System.Web.Services.WebService { [WebMethod(De ...

Go to the complete details ...