Wednesday, March 10, 2010

Axis2: Why bother?

The BileBlog - Axis2: Why bother?

Bit harsh but very true - axis2 is not really a usable system. Sun's metro stack is way better. Just trying to get axis2's wsdl2java working resulted in me breaking a tooth in anger.

What get's my goat about Eclipse is it's linkages to Apache - the Web Tools Project webservices stuff deals only with Axis and it's ilk.
Oh yeah, there is a new Apache CXF interface which at least implements a marginally better product. But just check out the predic8 blog entry: http://www.predic8.com/axis2-cxf-jax-ws-comparison.htm
I'll quote it here for your reference:

WS-* Standards

The support of the WS-Standard family can also be decisive for the selection of a SOAP engine. For example, messages sent to services can be secured with signatures as described in the Web Service Security standard (in short WSS). Table 1 shows the support for WS*-Standards of the toolkits.
Standards Axis2 CXF JAX-WS/Metro
WS-Addressing X X X
WS-Coordination X(2)
X
WS-MetadataExchange

X
WS-Policy X X X
WS-ReliableMessaging X(3) X X
Web Services Security X(1) X(4) X
WS-SecureConversation X(1)
X
WS-SecurityPolicy

X
WS-Transaction X(2)
X
WS-Trust X
X
WS-Federation


Table 1: Support for WS-* Standards (stand: Juli 2008)
(1) Supported by the additional module Apache Rampart
(2) Supported by the additional module Apache Kandula2
(3) Supported by the additional module Apache Sandesha2
(4) By Apache WSS4J Interceptor
Who just wants to code against the standard is well advised with the JAX-WS implementation. The enterprise pack of the Netbeans development environment supports JAX-WS RI very well. Only a few clicks are needed to build a server or to call a Web Service

Another post is: http://www.arobs.com/innovationtech/tag/axis2-vs-cxf-vs-metro/ ps: this seems to be mostly a cut and paste from Thomas's blog... mmm ggrr.
And also: http://srikanthnukala.net/devblog/2009/06/29/axis2-vs-jax-ws-vs-apache-cxf-vc-spring-ws/

My problem is that Eclipse only supports the Apache products with the web services client generator.
Bugger them.

1 comment:

Danzilla said...

Yeah, I had the same grief when I tried to use Axis2 - documentation looked it'd be great if you already knew exactly what you were doing, and things just didn't want to work in any kind of reasonable fashion. Switched to CXF and things went much more smoothly.