Commit Graph

2656 Commits

Author SHA1 Message Date
Stéphane Nicoll
e31c3cf2d0 Upgrade to Easymock 5.5.0
Closes gh-1545
2025-04-20 11:56:14 +02:00
Stéphane Nicoll
7b1f181e5e Upgrade to AssertJ 3.27.3
Closes gh-1544
2025-04-20 11:54:44 +02:00
Stéphane Nicoll
aed8ff4437 Upgrade to AspectJ 1.9.24
Closes gh-1543
2025-04-20 11:53:02 +02:00
Stéphane Nicoll
d278292b5d Upgrade to Xmlsec 4.0.4
Closes gh-1542
2025-04-20 11:50:23 +02:00
Stéphane Nicoll
12ecaf2ae0 Upgrade to HttpClient5 5.4.3
Closes gh-1541
2025-04-20 11:48:42 +02:00
Stéphane Nicoll
b9a11b2f69 Upgrade to Jaxen 2.0.0
Closes gh-1540
2025-04-20 11:45:10 +02:00
Stéphane Nicoll
0e8a8cbe45 Upgrade to Commons io 2.19.0
Closes gh-1536
2025-04-20 11:37:46 +02:00
Stéphane Nicoll
649816c34c Upgrade to Woodstox 7.1.0
Closes gh-1534
2025-04-20 11:37:43 +02:00
Stéphane Nicoll
d061e9f82f Upgrade to JUnit 5.12.2
Closes gh-1533
2025-04-20 11:37:28 +02:00
Stéphane Nicoll
8370a4753b Upgrade to Jetty 12.0.19
Closes gh-1532
2025-04-20 11:37:28 +02:00
Stéphane Nicoll
2595a194a8 Upgrade to ActiveMQ 6.1.6
Closes gh-1531
2025-04-20 11:37:28 +02:00
Stéphane Nicoll
4db2923e00 Upgrade to Log4J 2.24.3
Closes gh-1530
2025-04-20 11:37:28 +02:00
Stéphane Nicoll
c4ccfeecb6 Merge branch '4.0.x'
Closes gh-1538
2025-04-19 11:56:44 +02:00
Stéphane Nicoll
514abecc7e Tighten rules with compiler warnings
This commit configures the Java compiler to break the build in case of
the following warnings:

* Calling deprecated code
* Use of unchecked and raw types
* Incorrect use of varargs

Closes gh-1537
2025-04-19 11:49:20 +02:00
Stéphane Nicoll
b98055139a Fix compilation warnings 2025-04-19 11:41:13 +02:00
Stéphane Nicoll
eac9955ad3 Fix checkstyle violation 2025-04-19 09:04:02 +02:00
Stéphane Nicoll
1c5543a199 Merge branch '4.0.x'
Closes gh-1529
2025-04-18 11:52:26 +02:00
Stéphane Nicoll
772549084e Harmonize suffix of test classes
Closes gh-1528
2025-04-18 11:40:44 +02:00
Stéphane Nicoll
3784ca5020 Merge branch '4.0.x' 2025-04-17 11:47:11 +02:00
Stéphane Nicoll
bb345207f6 Upgrade to Spring Framework 6.2.6
Closes gh-1523
2025-04-17 11:46:12 +02:00
Stéphane Nicoll
62f1685999 Upgrade to Spring Framework 6.1.19
Closes gh-1521
2025-04-17 11:44:32 +02:00
Stéphane Nicoll
27a21f8367 Merge branch '4.0.x'
Closes gh-1527
2025-04-16 15:13:49 +02:00
Stéphane Nicoll
f58db47ba4 Fix error logging in client-side validation
Closes gh-1144
2025-04-16 15:11:04 +02:00
Stéphane Nicoll
fae0a66559 Merge branch '4.0.x'
Closes gh-1526
2025-04-15 10:24:14 +02:00
Stéphane Nicoll
84ac743d2d Upgrade to github-changelog-generator 0.0.12
Closes gh-1525
2025-04-15 10:23:57 +02:00
Stéphane Nicoll
1c195b51bc Merge branch '4.0.x' 2025-04-11 12:15:05 +02:00
Stéphane Nicoll
242709d3ec Start building against Spring Security 6.5.0-RC1 snapshots
See gh-1524
2025-04-11 12:14:13 +02:00
Stéphane Nicoll
36e431d126 Start building against Spring Framework 6.2.6 snapshots
See gh-1523
2025-04-11 12:13:43 +02:00
Stéphane Nicoll
e633cc0e76 Start building against Spring Security 6.3.9 snapshots
See gh-1522
2025-04-11 12:12:25 +02:00
Stéphane Nicoll
0ba964d8b8 Start building against Spring Framework 6.1.19 snapshots
See gh-1521
2025-04-11 12:11:56 +02:00
Stéphane Nicoll
72d79d19db Add more flexible registration of DefaultMethodEndpointAdapter
This commit updates WsConfigurer to get a callback with the list of
default method argument resolvers and return value handlers. Previously,
the callback only allowed to add custom instances and these were added
after the defaults.

Closes gh-1080
2025-04-10 15:22:36 +02:00
Stéphane Nicoll
ef00c3e2db Apply cert constraints in verifyCertificateTrust as well
Closes gh-1520
2025-04-09 16:39:02 +02:00
Stéphane Nicoll
80f8d61024 Only log the exception if is it resolved
This commit improves AbstractEndpointExceptionResolver to only invoke
the logException method for an exception that has been resolved. To
help with chaining them, a CompositeEndpointExceptionResolver has been
introduced. If no resolvers were able to resolve the exception, the
last instance will then log the exception.

Closes gh-736
2025-04-08 14:33:39 +02:00
Stéphane Nicoll
d3454c5edc Improve creation of HttpClient with HttpComponents5ClientFactory
This commit improves HttpComponents5ClientFactory so that it is easier
to apply custom configuration to the HttpClient it creates.

Closes gh-1035
2025-04-08 14:12:40 +02:00
Stéphane Nicoll
f250abb0cf Simplify HttpComponents5MessageSender
Previously, HttpComponents5MessageSender can be configured to use both
a custom HttpClient or configure one using a number of convenient
properties. This setup creates an odd arrangement where calling those
convenient methods once an HttpClient is set throws an exception as
the implementation supports one or the other.

This commit moves the first use case in a simple implementation that
only accepts a custom HttpClient or the state of
HttpComponents5ClientFactory for convenience and discoverability.

Specifying an HttpComponents5MessageSender is deprecated as a result.

Closes gh-1519
2025-04-08 13:21:16 +02:00
Stéphane Nicoll
cf9295b887 Invoke ClientInterceptor#afterCompletion once per request
This commit reviews how afterCompletion is invoked. First of all, any
exception thrown by an interceptor does not bubble up the stack to give
a chance for other interceptors to clean things up.

Then, rather than calling afterCompletion before handling a fault, an
error, or the response body, it is invoked after. This gives a chance
to any exception to break the flow and handle the completion in the
catch block.

Tests have been added to ensure that the callback is only invoked once.

Closes gh-1054
2025-04-08 10:52:59 +02:00
Stéphane Nicoll
0c9cb71d65 Merge branch '4.0.x'
Closes gh-1518
2025-04-07 13:28:20 +02:00
Stéphane Nicoll
5d5bd57f79 Clarify how to apply advanced endpoint configuration
Closes gh-1209
2025-04-07 13:25:58 +02:00
Stéphane Nicoll
352801d761 Fix indentation 2025-04-07 13:17:35 +02:00
Stéphane Nicoll
6dcf78d454 Merge branch '4.0.x'
Closes gh-1517
2025-04-06 12:44:22 +02:00
Stéphane Nicoll
daccb0db6d Allow SmartEndpointInterceptor to be added as regular interceptor
Previously, only SmartEndpointInterceptor instances declared as bean
were considered by AbstractEndpointMapping. Given that it extends from
EndpointInterceptor, this meant that adding them using the regular
setEndpointInterceptor mean they were not considered as such, that is
added irrespective of their `shouldIntercept` contract.

This commit considers both list as holding SmartEndpointInterceptor
instances. As a result, these can now be added using regular hook
points, such as WsConfigurer.

Closes gh-1130
2025-04-06 12:44:02 +02:00
Stéphane Nicoll
ee0d99fbd5 Merge branch '4.0.x'
Closes gh-1516
2025-04-06 12:08:46 +02:00
Stéphane Nicoll
50ca51e41f Clarify scope of WebServiceMessageSender
Closes gh-1063
2025-04-06 12:08:11 +02:00
Stéphane Nicoll
f3ca62bfa1 Merge branch '4.0.x'
Closes gh-1515
2025-04-06 12:02:52 +02:00
Stéphane Nicoll
3d8bb53ea3 Document how to use CommonsXsdSchemaCollection with Java config
Closes gh-1050
2025-04-06 12:02:23 +02:00
Stéphane Nicoll
e5f7871ff4 Merge branch '4.0.x'
Closes gh-1514
2025-04-06 11:32:18 +02:00
Stéphane Nicoll
b78b151aba Add example of customizing the detail of a SOAP fault
Closes gh-716
2025-04-06 11:32:05 +02:00
Stéphane Nicoll
5b401a6852 Polish "Add support for configuring extra WSS4J options"
See gh-1093
2025-04-02 10:34:58 +02:00
Stéphane Nicoll
5f57898784 Add support for configuring extra WSS4J options
Closes gh-1093
2025-03-30 12:52:30 +02:00
Stéphane Nicoll
fa46f47f38 Merge branch '4.0.x'
Closes gh-1513
2025-03-27 18:49:06 +01:00