wood burning stoves 2.0*
The moose likes Web Services and the fly likes JAX-WS vs Axis2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS vs Axis2 " Watch "JAX-WS vs Axis2 " New topic
Author

JAX-WS vs Axis2

Dan Gunawan
Greenhorn

Joined: Jul 25, 2005
Posts: 5
We're currently trying to build a WS client from the WSDL provided by a vendor. The client will then be used by a Java web app to do its things (as you do).

usually there is only Axis that you use, however now JAX-WS has come to the equation.

What I'd to know is whether there has been an analysis done comparing JAX-WS vs Axis2, going through each advantages and disadvantages. What I've got so far is JAX-WS requires 1.5 and access to the WSDL at runtime.

Our environment is 1.5 running on JBoss 4.0.

Will be much appreciated if the experts out there can give some pointers!!

TIA.
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

There's actually a benchmark that I came across last year when I was also looking for a comparison.
http://weblogs.java.net/blog/kohsuke/archive/2007/02/jaxws_ri_21_ben.html

I've used both JAX-WS and Axis2. Both are very good. Axis2 lacks of documentation (as opposed to Axis1) and it can be a bit difficult to learn. JAX-WS is a standard. Mostly I use Axis2 because not all app servers support JAX-WS.

Hope it helps.


SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
Dan Gunawan
Greenhorn

Joined: Jul 25, 2005
Posts: 5
Thanks for the link.

I'm actually looking for features comparison between the two. Load won't be an issue for this project.

Anyway else?
prashant thakre
Greenhorn

Joined: Jun 29, 2011
Posts: 2
its is not the only ways axis and jax-ws to create the client against the available WSDL. You can also adopt other ways like xfire.
However there are not much information available about the Axis client creation but its very simple to do that.
Just install the Axis2 from Apache site. Open a common prompt cd to %AXIS_HOME%/bin and execute the below command.

The following command will generate the java cleint under folder src in same path.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS vs Axis2