Spring Web Services 3.0.4 / 2.4.3 released!

Engineering | Greg L. Turnquist | September 19, 2018 | ...

Greetings Spring community,

The Spring Web Services team is releasing two version at the same time. 3.0.4.RELEASE as the main branch of development along with 2.4.3.RELEASE for maintenance.

3.0.4.RELEASE comes with a handful of features listed further below. It also comes with new support for Java 11, the next long term supported version of Java.

Java 11 and beyond

Starting in Java 9, several key Java EE packages had their visibility reduced. These included core XML and SOAP-based packages. In Java 11, these packages have been removed altogether. Since Java 11 is the first long term release since Java 8, it’s the version Spring Web Services aligns with for corresponding long term support.

What does this mean for you? To use Spring Web Services on Java 9+, you can no longer depend on the JDK providing key XML and SOAP-based libraries. Never fear, the solution is right here!

If you visit the project’s build file, you’ll discover a new Java 11 profile. This profile contains the extra dependencies you must add to your own build file in order to use Spring Web Services (or any XML/SOAP-based library for that matter).

Spring Web Services does not ship these dependencies so you’ll have to add them to your own build file. But once you do, you won’t have to worry about again (except for when newer versions of those APIs are released).

Still using Spring Web Services 2.x maintenance branch? We’ve got you covered. Without breaking backward compatibility, the 2.4.3.RELEASE also supports Java 11. It just uses a slightly older version of the SOAP API (1.3.8 instead of 1.4.0). Nothing is forced upon you, so you can continue using the same versions of everything else.

Whether or not Java 11 breaks any parts of your application outside of Spring Web Services, of course, is up to you.

For more details, read the following release notes for each version:

Release Notes - Spring Web Services - Version 3.0.4.RELEASE

Bug

  • SWS-1018 - SaajSoapMessage created with default (empty) SoapEnvelope

  • SWS-1036 - SimpleXsdSchema not initialized property produces NullPointerException

Improvement

  • SWS-1030 - Resolve version conflicts

  • SWS-1033 - Ehcache - OWASP Dependency Check issues

  • SWS-1034 - Switch to Java 11 for future JDK support

  • SWS-1037 - Make SimpleXsdSchema give a more productive error message

  • SWS-1038 - Polish documentation

  • SWS-1039 - Upgrade to latest version of Spring

Release Notes - Spring Web Services - Version 2.4.3

Bug

  • SWS-1018 - SaajSoapMessage created with default (empty) SoapEnvelope

  • SWS-1036 - SimpleXsdSchema not initialized property produces NullPointerException

Improvement

  • SWS-1012 - Upgrade to latest Spring Framework and Spring Security versions

  • SWS-1033 - Ehcache - OWASP Dependency Check issues

  • SWS-1034 - Switch to Java 11 for future JDK support

LInks: Project Page | GitHub | Issues

The artifacts are staged on maven central and http://repo.spring.io/.

SpringOne Platform

The hottest Spring conference is right around the corner. In less than a week thousands of Spring developers from around the globe will gather in Washington, D.C. It’s still not too late to register.

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all