@Retention(value=RUNTIME) @Target(value=METHOD) public @interface WebMethod
Modifier and Type | Optional Element and Description |
---|---|
String |
action
The action for this operation.
|
boolean |
exclude
Marks a method to NOT be exposed as a web method.
|
String |
operationName
Name of the wsdl:operation matching this method.
|
public abstract String operationName
public abstract String action
For SOAP bindings, this determines the value of the soap action.
public abstract boolean exclude
Used to stop an inherited method from being exposed as part of this web service. If this element is specified, other elements MUST NOT be specified for the @WebMethod.
This member-value is not allowed on endpoint interfaces.
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2012, Oracle and/or its affiliates. All rights reserved.