BT

Spring Web Services 1.5 Released

by Bryan Clauser on Apr 11, 2008 |

After 6 months of work, Spring Web Services 1.5.0 has been release. Based off contract-first development using SOAP service development, Spring-WS can be manipulated through XML to create document-driven Web services. Some of the highlights of the release include:

  •  Two new transports: JMS and email, both for client and server

  • WSS4J-based WS-Security implementation, which allows for WS-Security on non-SUN JDKs (i.e. WebSphere) and JDK 1.4

  • WS-Addressing support for both client and server, supporting the August 2004 and final versions of the specification

 Arjen Poutsma goes into detail about how some of the new features work, showing how these new changes can be implemented. There are examples of how to implement the new transports as well as an overview of some of the other features in this release. Aljern also provides feedback on design decisions and future functionality of Spring-WS.

Other feature include:

  •  Spring-WS jars are now OSGi bundles,

  •  A new, client-side interception mechanism, including WS-Security support,

  • @Endpoints are now @Components, so they are automatically picked up when using Spring 2.5 component scanning

The 1.5 release is 95% backwards compatible, and comment in the Spring forums have been positive when it comes to upgrading  For a full list of the features in the release see the release announcement. Also see a recent InfoQ interview with Arjen Poutsma that goes more into detail about Spring-WS and some if its methodologies.

Hello stranger!

You need to Register an InfoQ account or to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

osgi and web services. by Christopher Brind

can this turn an osgi service in to a webservice? i.e. if i register an osgi service in the standard way, can spring turn that in to a webservice for me?

if not, does anyone know something that can?

thanks in advance.

Re: osgi and web services. by Arjen Poutsma

can this turn an osgi service in to a webservice? i.e. if i register an osgi service in the standard way, can spring turn that in to a webservice for me?


No, Spring Web Services cannot turn a OSGi service into a Web Service. I currently know of no framework which can. In fact, I'm not so sure it's a good idea. OSGi services are plain classes, designed for local invocation, and thus have a fine-grained interface. The sweet spot for Web services is a course-grained interface, preferably designed in a contract-first fashion.

Re: osgi and web services. by ant elder

Apache Tuscany SCA supports this with the implementation.osgi and binding.ws extensions. If you'd like more info just ask on the
mailing list and I'm sure someone would help get you going.

Building a web service with Spring-WS by Shameer Kunjumohamed

Please take a look at an article describing the steps involved in building a web service with Spring-WS, using JAXB Marshalling in a simple way, at
justcompiled.blogspot.com/2010/09/building-web-...

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

4 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2013 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT