Must a web service function accept parameters?

Must a web service function accept parameters?

by Basil Gohar -
Number of replies: 0
I would like to write a web service function that will simply return the values of the roles table (and do the same for some other tables as well). This doesn't really require a parameter, I just want the whole thing so I can use that information to automate role assignments from our SIS.

However, from looking at existing examples, it looks like all web service functions need a $functionname_parameters function giving the web service description. Can that be skipped in the case of a web service function that requires no parameters for its operation?

Or is there another way to do this? I suppose I could make it a function that takes the name of the table as its parameter, and then just check that for only the tables I want to allow access to.

Let me know if I'm going about this in the wrong way. Thanks in advance!
Average of ratings: -