I have created a windows service application with C# with .Net 2.0, and added a web service as
It has the method "ReportIncident". I checked the windows service in local environment. It worked. Before I deploy it I added below code to get the particular url from a setting file.
shids_client.shidsWebServer.ReportIncident r = new shids_client.shidsWebServer.ReportIncident(); r.Url = Constant.readUrl(); r.CallReportIncident(time,LocalIPAddress(),type,line);
After I deployed, i added the url to my setting file as
After I check it, it didn't work. Following error was at my log : "Operation 'CallReportIncident' is not defined in the WSDL for this service"