wsgen ant task ignore @webMethod(exclude=true) annotation

删除回忆录丶 提交于 2019-12-21 23:02:05

问题


I Have a web service implementation class in java and I use wsgen to generate the service end point classes. There is a public method in my SEI that I want to exclude from the web-service interface. It seems that the annotation

@WebMethod (exclude=true)

is meant to do that but it does not seem to work with the wsgen ant task.


回答1:


This sounds like Issue #789 (bug in wsgen). Maye give the suggested workaround a try:

As a temporary workaround with old impl, you can try removing the @WebMethod on non-excluded methods.



来源:https://stackoverflow.com/questions/2245791/wsgen-ant-task-ignore-webmethodexclude-true-annotation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!