tmbrggmn
tmbrggmn

Reputation: 8830

Exposing Spring services as SOAP webservice

I have a quite extensive Spring 3.0 service architecture (the typical architecture; a bunch of model objects and a bunch of services that do stuff with these objects). I would like expose some of these services as SOAP web services.

We have developed SOAP web services before, but these have always been relatively simple and dedicated, and we have always used Axis 2. I found Axis 2 a bit heavy on the dependency and implementation side, and I'm a bit worried that this will bloat my current project something awful.

I have looked around and apparently using Apache CXF this would seem quite easy. So I'm looking for some advice on this. Does anyone have any practical experience with this? Pros and cons?

Upvotes: 4

Views: 1738

Answers (2)

Bozho
Bozho

Reputation: 596996

We are using spring with CXF for soap services and it goes very smooth. Following the CXF tutorial makes it straightforward to use by simply using the jaxws xml namespace.

Upvotes: 2

chzbrgla
chzbrgla

Reputation: 5188

I haven't really tested any other webservice frameworks - always been going with CXF and am quite happy with that.

If you're using Netbeans (even if not, it's still useful I'd say), check out this tutorial: http://sites.google.com/site/apachecxfnetbeans/loanproc

Just skip the first few paragraphs (Database integration, testing etc. etc. .. all of which you should already have knowledge about). The CXF integration in Netbeans is useful for writing fast clients using the built-in netbeans functionalities.

cheers

Upvotes: 0

Related Questions