Axis和Axis2之间的区别以开发Web Service [英] Difference between Axis and Axis2 to develop Web Service
问题描述
在我的项目中,我将不得不基于Web Service技术开发一些数据输入/输出接口.所以直到现在我都对此进行了研究.
In my project, I will have to develop a some data in/out interfaces based on Web Service technology. So until now I have studied about it.
我对使用Java的Web服务感到好奇的是,我可以使用或不使用哪种库.
What I am curious about Web Service with Java is what library I can use or not.
当我搜索Java库时,我发现Axis2和CXF是非常常见且著名的Java w/s库.问题是我必须使用包含轴的RAD 7.0.
As I searched java library, I found that Axis2 and CXF are very common and famous java w/s library. The problem is I have to use RAD 7.0 which contains axis.
似乎Axis和Axis2之间有很大的变化,不幸的是我不能使用Axis2.
It seems there are huge change between Axis and Axis2 and unfortunately I can't use Axis2.
现在,我的合作伙伴提供了WSDL,我必须实现客户端W/S. 如果我通过Axis或Axis2或CXF从WSDL创建客户端代理代码,那么它们是否都是相同的代码?
Now, my partner provides WSDL and I have to implement client-side W/S. If I create client-side proxy code from WSDL by Axis or Axis2 or CXF, are they all same code?
或者如果我必须使用WSDL为Axis提供我的W/S接口,那么Axis2或CXF用户会遇到问题吗?
Or If I have to make WSDL to provide my W/S interface with Axis, can it be the problem to Axis2 or CXF user?
在我的情况下,我很新,并且害怕使用Axis. 有人可以给我一些建议吗?
In my circumstance, I am very new and afraid of using Axis. Can anybody give me some advice??
谢谢.
祝你有美好的一天.
推荐答案
否,它们每个都生成不同的代码. 尽管它们都是出于相同的目的.
No, each of them generates a different code. Though they all work for the same purpose.
与Axis相比,我个人更喜欢Axis2.
I personally prefer Axis2 over Axis.
只要在每种优点和缺点之间取得各种利弊,就可以完成以下步骤: 比较链接之间的差异
Just to get various pros and cons on each of them, you can go through this: comparison link
这篇关于Axis和Axis2之间的区别以开发Web Service的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!