Tôi hy vọng rằng một phần mở rộng của một số loại có sẵn mà thực hiện điều này (mặc dù tôi cho rằng hy vọng của tôi là lạc quan ngu ngốc).Bất kỳ cách nào để tạo tài liệu WSDL từ Javadoc với JAX-WS?
/**
* <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;
Cảm ơn, LES2
Chuyển thành [github] (https://github.com/stoicflame/enunciate/wiki/User-Guide) nhưng không kém phần nào ngọt ngào! –