Apache Axis 1:WSDL2Java - 覆盖生成的源?

发布于 2024-12-06 16:52:26 字数 300 浏览 0 评论 0原文

当针对最近更改的 wsdl 运行 org.apache.axis.wsdl.WSDL2Java (Axis 1) 时,会出现失败,因为某些源已经存在。有没有办法强制覆盖现有的类?我在 http://axis.apache.org/axis/java/ 上没有看到任何内容Reference.html 在这种情况下可以帮助我。

我正在寻找类似 -or 选项的东西,可以在 Axis 2 WSDL2Java 命令中使用。

When running org.apache.axis.wsdl.WSDL2Java (Axis 1) against a recently changed wsdl, there is a failure because some sources already exist. Is there a way to force overwrite of existing classes? I don't see anything at http://axis.apache.org/axis/java/reference.html that can help me in this case.

I am looking for something like the -or option which can be used in the Axis 2 WSDL2Java command.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

悲念泪 2024-12-13 16:52:26

我不相信有办法强制覆盖。至少我在 ant 任务的代码中找不到它,所以我想它不存在。使用带有 -b 和 -or 标志的 Axis2 wsdl2java 是否适合您?这应该会生成 Axis 1.x 兼容代码,并允许您访问 Axis2 版本的命令中确实存在的覆盖选项。

I don't believe there is a way to force the overwrite. At least I can't find one in the code for the ant task so I imagine it doesn't exist. Would using the Axis2 wsdl2java work for you with the -b and -or flags? That should generate Axis 1.x compatible code and give you access to the overwrite option that does exist in the Axis2 version of the command.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文