les*_*es2 18 java documentation wsdl jax-ws wsgen
我希望可以使用某种类型的扩展(尽管我认为我的希望是愚蠢的乐观).
/**
* <p>
* Gets the {@link ResultObject} given the identifier. The following
* fields are not available for some users and will contain a null value:
* </p>
*
* <ul>
* <li>{@code resultObject.comment}</li>
* <li>{@code resultObject.anotherObject.actionById}</li>
* <li>{@code resultObject.anotherObject.actionByName}</li>
* </ul>
*
* <p>
* The {@code daysInPurgatory} value will be {@code -1} when not
* applicable
* </p>
*
* @param requestUser
* the user initiating the request
* @param identifier
* the id of the ResultObject
* @return the {@link ResultObject} or {@code null} if none exists
* @throws SomeException
* if the {@code identifier} is {@code null}
*/
@WebMethod
@WebResult(name = "resultObject")
public ResultObject getResultObjectById(
@WebParam(name = "RequestUser", header = true, partName = "RequestUser") final String requestUser,
@WebParam(name = "identifier") final Long identifier)
throws SomeException;
Run Code Online (Sandbox Code Playgroud)
谢谢,LES2
sfu*_*ger 10
你可以看看Enunciate.可以使用它的Maven插件从Javadoc注释生成静态HTML文件.这适用于SOAP(即JAX-WS)和REST(即JAX-RS)端点.
有趣的读物:
生产实例: