Pie*_*rre 6 java documentation web-services cxf java-ee
我正在学习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();
}
Run Code Online (Sandbox Code Playgroud)
提前致谢,
皮埃尔
归档时间: |
|
查看次数: |
3146 次 |
最近记录: |