Package jakarta.jws

Annotation Interface WebMethod


@Retention(RUNTIME) @Target(METHOD) public @interface WebMethod
Customizes a method that is exposed as a Web Service operation. The associated method must be public and its parameters return value, and exceptions must follow the rules defined in Jakarta XML Web Services Specification, section 5. The method is not required to throw java.rmi.RemoteException.
Since:
1.6