Difference between Axis and Axis2 to develop Web Service

nick picture nick · Dec 4, 2012 · Viewed 17.7k times · Source

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.

What I am curious about Web Service with Java is what library I can use or not.

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.

It seems there are huge change between Axis and Axis2 and unfortunately I can't use Axis2.

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?

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?

In my circumstance, I am very new and afraid of using Axis. Can anybody give me some advice??

thanks.

have a good day.

Answer

subbu picture subbu · Apr 19, 2013

No, each of them generates a different code. Though they all work for the same purpose.

I personally prefer Axis2 over Axis.

Just to get various pros and cons on each of them, you can go through this: comparison link