Hi guys, can I create more than one method on a web service? Because the other method does not exist when I set my web service to be the start page. I created a web service for my autocomplete.
Yes, you can create more than one method in a webservice. Not sure what you mean by “the other method does not exist”. What other method?
Just make sure u mark ur methods with [WebMethod]
Well, I have three methods in my web service, if I’m going to set my web service to be the start page, the other two methods does not exist on the list.
oh, I got it. For each method that I’m going to create, I have to include the keyword [WebMethod]