-
Bug
-
Resolution: Done
-
Major
-
jbossws-cxf-5.1.5.Final
-
None
Application defines two identical web service classes placed in different packages and accessed via different paths (defined in web.xml). Both web services use the same handler class.
However, the handler's PostConstruct method is only executed for invocations of one of the two web services (expected: for invocations of both web services).
Note this is a regression between EAP 6.4.x and 7.0.x.
it seems this is caused by how the ServerBeanCustomizer matches endpoints. In EAP 6 this was based on the bean's class, but in EAP 7 it uses the WSDL_SERVICE and WSDL_PORT of the service. The problem happens when there are two endpoints with the same service address, but different paths.
Potential solution: https://github.com/jbossws/jbossws-cxf/compare/jbossws-cxf-5.1.x...spyrkob:JBWS-4046?expand=1
- blocks
-
JBEAP-7742 (7.1.x)[GSS]PostConstruct method not invoked on web service handler
- Closed
- is incorporated by
-
JBEAP-7935 [GSS](7.0.z) JBWS-4046 - PostConstruct method not invoked on web service handler
- Closed
-
WFLY-8353 Upgrade JBossWS from 5.1.7.Final to 5.1.8.Final
- Closed