【发布时间】:2011-01-05 09:35:06
【问题描述】:
我目前正在学习 Apache CXF。
当 CXF 从 Pojo 生成 WSDL 文件时,有没有办法(java 注释?)将 自定义文档 添加到 WSDL 文件?描述服务或参数?
我已经使用@WebParam 设置了一些描述性名称,但我想添加更长的文档。有点像...
@WebService
@Documentation("This service say hello. See http://say.hello")
public interface MyService
{
@WebResult(name="helloMessage")
@Documentation("Returns the hello message")
public String sayHello();
}
提前致谢,
皮埃尔
【问题讨论】:
标签: java web-services documentation jakarta-ee cxf