Re: Add Web References problems

From: [MSFT] (lukezhan_at_online.microsoft.com)
Date: 05/04/04


Date: Tue, 04 May 2004 05:59:14 GMT

Hi Russ,

>From the information, you haven't added any web method in the web service.
A web service must have at least one web method, so that it can be added to
other projects. Otherwise, there will be such a problem as you said. You
can try to add a web method to the service code to see the result.

By the way, string "service1" in IE when you test the web service, is just
the class name you defined in the service code, like:

public class Service1 : System.Web.Services.WebService
{
..

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)