Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1345

Support configuring JAX-WS handlers based on port-name-pattern QName

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.1.5, 2.2.1
    • JAX-WS Runtime
    • 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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jliu Jervis Liu
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: