|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: REQUIRED | OPTIONAL | 详细信息: ELEMENT |
javax.jws Annotation Type 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 JAX-RPC 1.1, section 5. The method is not required to throw java.rmi.RemoteException.
- 作者:
- Copyright (c) 2004 by BEA Systems, Inc. All Rights Reserved.
Optional Element Summary | |
---|---|
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. |
operationName
public abstract String operationName
- Name of the wsdl:operation matching this method.
- 默认值:
- ""
action
public abstract String action
- The action for this operation.
For SOAP bindings, this determines the value of the soap action.
- 默认值:
- ""
exclude
public abstract boolean exclude
- Marks a method to NOT be exposed as a web method.
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.
- 从以下版本开始:
- 2.0
- 默认值:
- false
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: REQUIRED | OPTIONAL | 详细信息: ELEMENT |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.