|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface WebMethod
Specifies that the given method is exposed as a Web Service operation, making it part of the Web Service’s public contract. A WebMethod annotation is required for each method that is published by the Web Service. The associated method must be public and its parameters return value, and exceptions must follow the rules defined in JAX-RPC 1.1, section 5. The method is not required to throw java.rmi.RemoteException.
Optional Element Summary | |
---|---|
String |
action
The action for this operation. |
String |
operationName
Name of the wsdl:operation matching this method. |
public abstract String operationName
public abstract String action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |