Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS vs Axis2

 
Dan Gunawan
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 959
Eclipse IDE Java Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dan Gunawan
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic