The webService method option indicates that the JADE method specifies a Web services method; that is, one that is defined in a subclass of the
You can specify any type of parameter (that is, constant, input, io, or output) for a Web services method. For details, see "Parameters", earlier in this chapter.
The method does not require a return value because the Web service uses the HTTP protocol (which always requires a response) and a reply is always sent to the Web service consumer. Primitive parameters that are io or output are also sent back in the response as are object parameters that are not constant.
You can also specify this method by using the Web Service check box in the JADE Method Definition or Condition Definition dialog. For a Web services class, this option is set by default.
Methods declared on the
The following example shows the use of the webService option in a method signature.
getClients() webService;