我在 java 中有一个 Web 服务实现类,我使用 wsgen 生成服务端点类。我的 SEI 中有一个公共(public)方法,我想从 Web 服务接口(interface)中排除。好像是注解
@WebMethod (exclude=true)
是为了这样做,但它似乎不适用于 wsgen ant 任务。
最佳答案
这听起来像 Issue #789 (wsgen 中的错误)。 Maye 可以尝试建议的解决方法:
As a temporary workaround with old impl, you can try removing the @WebMethod on non-excluded methods.
关于java - wsgen ant 任务忽略@webMethod(exclude=true) 注解,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2245791/