【问题标题】:wsgen ant task ignore @webMethod(exclude=true) annotationwsgen ant 任务忽略 @webMethod(exclude=true) 注释
【发布时间】:2010-02-11 16:11:27
【问题描述】:

我在 java 中有一个 Web 服务实现类,我使用 wsgen 来生成服务端点类。我的 SEI 中有一个公共方法,我想从 Web 服务界面中排除。好像注释

@WebMethod (exclude=true)

打算这样做,但它似乎不适用于 wsgen ant 任务。

【问题讨论】:

  • 谢谢!顺便说一句:识别一个好的答案的常用方法是支持它;-)

标签: java web-services ant jax-ws wsgen


【解决方案1】:

这听起来像Issue #789(wsgen 中的错误)。 Maye 尝试一下建议的解决方法:

作为旧 impl 的临时解决方法,您可以尝试在 non-excluded 上删除 @WebMethod 方法。

【讨论】:

    猜你喜欢
    • 2012-11-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-04-12
    • 2014-11-09
    相关资源
    最近更新 更多