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.
Some other differences I found :
For Axis 2 development Java version 5 and later is required. For Axis 1 java v5 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.
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
Through experience, I did find that some WSDLs can get parsed by Axis1 but not Axis2 and some messages being sent by Axis2 does not work on services that have worked with Axis1.
Nuances in arrays from generated WSDLs rather than hand written ones and accented characters being interpretted differently by the server side (i.e. works with CDATA but not without)
On a personal note, I use whatever wsimport generates from the JDK rather than some other tool, but some frameworks such as Curam require axis/axis2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With