Branch: refs/heads/main
Home:
https://github.com/jbossws/jbossws-cxf
Commit: d84bb27186509c7d35f52a3ee247f84e54189891
https://github.com/jbossws/jbossws-cxf/commit/d84bb27186509c7d35f52a3ee24...
Author: Richard Opálka <opalka.richard(a)gmail.com>
Date: 2025-03-25 (Tue, 25 Mar 2025)
Changed paths:
M docbook/src/main/doc/adoc/content/chapter-5-Advanced_User_Guide.adoc
M
modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/ServerBeanCustomizer.java
A
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/AbstractTCCLAwarePhaseInterceptor.java
M
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/AbstractTCCLPhaseInterceptor.java
M
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/HandlerConfigInterceptor.java
A
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/TCCLAwareInterceptorReplacer.java
A
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/TCCLAwarePhaseInterceptor.java
A
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/TCCLAwareSoapPhaseInterceptor.java
M
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws4430/CDIOutInterceptor.java
M
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws4430/HelloBean.java
M
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws4430/JBWS4430TestCase.java
M
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws4430/LoggingHandler.java
Log Message:
-----------
[JBWS-4444] Server throws IllegalStateException when call to SOAPHandler's
getHeaders/handleFault/close methods is performed and their code include the CDI bean
invocation
The idea of the fix is the following:
* Every non Apache CXF interceptor is considered either JBossWS provided or user provided
interceptor
* Each such non Apache CXF interceptor is wrapped with TCCL aware interceptor
- this wrapping is necessary for all Endpoint, Service, Bus & Binding interceptors
- every TCCL aware interceptor delegates its calls (with proper TCCL in place where
necessary) to wrapped delegate interceptor
* The only exception from Apaches's CXF interceptors is:
org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor
- that one needs special treatment and must be wrapped too
(luckily there was no cast in Apache CXF code base involving this one - otherwise it
wouldn't work)
* Special treatment is needed also for
org.apache.cxf.binding.soap.interceptor.SoapInterceptor instances
- to delegate properly TCCL aware calls to getUnderstoodHeaders() method
* org.jboss.wsf.stack.cxf.interceptor.AbstractTCCLPhaseInterceptor was marked as
deprecated,
its usages inside code base have been removed and documentation referencing it was
eliminated
Commit: 34a9216c0bfe0518849cb8e8879201e5f6bbbf77
https://github.com/jbossws/jbossws-cxf/commit/34a9216c0bfe0518849cb8e8879...
Author: Richard Opálka <opalka.richard(a)gmail.com>
Date: 2025-04-03 (Thu, 03 Apr 2025)
Changed paths:
M docbook/src/main/doc/adoc/content/chapter-5-Advanced_User_Guide.adoc
M
modules/server/src/main/java/org/jboss/wsf/stack/cxf/configuration/ServerBeanCustomizer.java
A
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/AbstractTCCLAwarePhaseInterceptor.java
M
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/AbstractTCCLPhaseInterceptor.java
M
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/HandlerConfigInterceptor.java
A
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/TCCLAwareInterceptorReplacer.java
A
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/TCCLAwarePhaseInterceptor.java
A
modules/server/src/main/java/org/jboss/wsf/stack/cxf/interceptor/TCCLAwareSoapPhaseInterceptor.java
M
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws4430/CDIOutInterceptor.java
M
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws4430/HelloBean.java
M
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws4430/JBWS4430TestCase.java
M
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/cxf/jbws4430/LoggingHandler.java
Log Message:
-----------
Merge pull request #588 from ropalka/JBWS-4444
[JBWS-4444] Server throws IllegalStateException when call to SOAPHandler's
getHeaders/handleFault/close methods is performed and their code include the CDI bean
invocation
Compare:
https://github.com/jbossws/jbossws-cxf/compare/551938ca14b2...34a9216c0bfe
To unsubscribe from these emails, change your notification settings at
https://github.com/jbossws/jbossws-cxf/settings/notifications