Skip to content

Spring Web Services 4.1.0 M1 Release Notes

Stéphane Nicoll edited this page Mar 14, 2025 · 2 revisions

Spring Web Services 4.1.0-M1 Release Notes

Upgrading from Spring Web Services 4.1

Deprecations from Spring Web Services 2.0+

Classes, methods, and properties that were deprecated in Spring-WS 2.0 and later have been removed in this release. Please ensure that you aren’t calling deprecated methods before upgrading. This includes:

  • Base classes for implement endpoints. This was deprecated in Spring-WS 2.0 in favor of the @Endpoint support.

  • Support for Commons HttpClient v3

  • Support for EhCache v2

OpenSAML requiring a dedicated Maven repository

The upgrade to Apache WSS4J v4 also upgrades the OpenSAML version. Unfortunately, recent versions of OpenSAML require an extra Maven Repository as they are not published on Maven Central.

Maven users should add the repository as follows:

<repositories>
    <repository>
        <id>shibboleth-releases</id>
        <url>https://build.shibboleth.net/nexus/content/repositories/releases</url>
    </repository>
</repositories>

Gradle users can add it as follows:

repositories {
    maven { url "https://build.shibboleth.net/nexus/content/repositories/releases" }
}

See Use of Maven Central for more details

Minimum Requirements Changes

None.

New and Noteworthy

Apache Axiom Support

With the release of a version compatible with Jakarta, the support of Apache Axiom has been restored.

WSS4J Improvements

Apache WSS4J has been upgraded to v4 whilst maintaining compatibility with v2 (or v3). The following has been updated:

  • Support for providing an Attachment CallbackHandler to sign/encrypt SOAP attachments.

  • Support for configuring the USE_SINGLE_CERTIFICATE option, which allows to use X509PKIPathv1 instead of X509v3.

  • Support for certificate constraints of the subject DN.

Automatic module

All our jars ship with automatic module name entries in the manifests for module system compatibility. A split package between spring-ws-core and spring-ws-support has also been fixed as a result.

The module names are as follows:

  • spring-xml: spring.xml

  • spring-ws-core: spring.ws.core

  • spring-ws-security: spring.ws.security

  • spring-ws-support: spring.ws.support

  • spring-ws-test: spring.ws.test

Dependency Upgrades

Spring Web Services 4.1.0-M1 moves to new versions of several Spring projects:

Third-party dependencies have also been updated, some of the more noteworthy of which are the following:

Miscellaneous

Apart from the changes listed above, there have also been lots of minor tweaks and improvements including:

  • The If-Modified-Since HTTP header is now taken into account for WSDL/Schema requests.

Deprecations in Spring Web Services 4.1.0-M1

  • WsConfigurerAdapter has been deprecated in favor of implementing the WsConfigurer interface, which now provides default methods.