gpt4 book ai didi

axis2 - Axis和Axis2开发Web Service的区别

转载 作者:行者123 更新时间:2023-12-04 18:46:20 25 4
gpt4 key购买 nike

在我的项目中,我将不得不开发一些基于 Web Service 技术的数据输入/输出接口(interface)。所以直到现在我一直在研究它。

我对使用 Java 的 Web 服务感到好奇的是我可以使用或不使用什么库。

当我搜索 java 库时,我发现 Axis2 和 CXF 是非常常见且著名的 java w/s 库。问题是我必须使用包含 Axis 的 RAD 7.0。

Axis 和 Axis2 之间似乎有巨大的变化,不幸的是我不能使用 Axis2。

现在,我的合作伙伴提供 WSDL,我必须实现客户端 W/S。
如果我通过 Axis 或 Axis2 或 CXF 从 WSDL 创建客户端代理代码,它们是否都是相同的代码?

或者,如果我必须制作 WSDL 来为 Axis 提供我的 W/S 接口(interface),这对 Axis2 或 CXF 用户来说会是问题吗?

在我的情况下,我很新,害怕使用 Axis。
有人可以给我一些建议吗?

谢谢。

祝你有美好的一天。

最佳答案

我发现的其他一些差异:


  • For Axis 2 development Java version 5 and later is required. For Axis 1 javav5 or later is not required. It works on Java v4.



  • Axis is RI of old JAX-RPC 1.1 , Axis 2 is implementation of new JAX-WS 2.x



  • Axis don't support Annotations , Axis 2 supports annotations so supports new way of developing webservice with annotations e.g @Webservice / @ Webmethod annotations.


  • 关于axis2 - Axis和Axis2开发Web Service的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13700943/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com