Building a test web service and everything worked fine, so I added the rest of my methods and now they don’t appear on the "View in browser" test page.
I stopped the service in the system tray. CLEAN. Rebuilt. Built it. I tried all this several times.
It is strange that one of my new methods replaced one of the old methods (HelloWorld by default), but the remaining 10-15 methods are simply missing.
Any ideas on this?
EDIT: Here's a sample of what I have ...
[WebMethod]
public DataSet GetSiteMap()
{
return Photo_DA.GetSitemap();
}
[WebMethod]
public DataSet GetByTypeDate(string photoType, DateTime photoDate)
{
return Photo_DA.GetByTypeDate(photoType, photoDate);
}
[WebMethod]
public static DataSet GetArchiveCombos()
{
return Photo_DA.GetArchiveCombos();
}
The first two show. The third does not.
Doh! STATIC is a bad guy - I can’t delete this message, so Admin can be assumed.
source
share