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

2019-04-13 09:04发布

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条回答
Root(大扎)
2楼-- · 2019-04-13 10:01

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.

查看更多
登录 后发表回答