File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAX-WS vs Axis2 " Watch "JAX-WS vs Axis2 " New topic

JAX-WS vs Axis2

Dan Gunawan

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!!

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.

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

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

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:
subject: JAX-WS vs Axis2
It's not a secret anymore!