Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1
-
None
Description
Support configuring JAX-WS handlers based on port-name-pattern QName. I.e., following configuration needs to be supported:
<handler-chain>
<service-name-pattern
xmlns:ns1="http://apache.org/handler_test">
ns1:SoapService1
</service-name-pattern>
<handler>
<handler-name>Handler1</handler-name>
<handler-class>
org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilderTest$TestLogicalHandler
</handler-class>
</handler>
</handler-chain>
At the moment, CXF only compares the local part of service-name-pattern, not the name space, i.e., only "SoapService1" takes effect, "ns1" is ignored. To do this, we need to implement our own parser to parse handler config files, as JAXB does not return a QName for service-name-pattern.