Axis2
  1. Axis2
  2. AXIS2-2218

@HandlerChain annotation is not picked up

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jaxws
    • Labels:
      None

      Description

      When i deploy a service using JAXWSMessageReceiver that has @HandlerChain annotation. the handlers are not picked up nor invoked. There is a TODO item in the EndpointInterfaceDescriptionImpl.java (line 198) as follows. I can also see a JavaClassToDBCConverter that has a attachHandlerChainAnnotation which can help. But the only location the JavaClassToDBCConverter class is instantiated is in a test case...

      //TODO: Need to process the other annotations that can exist, on the server side
      // and at the class level.
      // They are, as follows:
      // HandlerChain (181)
      // SoapBinding (181)
      // WebServiceRefAnnot (List) (JAXWS)
      // BindingTypeAnnot (JAXWS Sec. 7.8 – Used to set either the AS.endpoint, or AS.SoapNSUri)
      // WebServiceContextAnnot (JAXWS via injection)

      thanks,
      dims

        Issue Links

          Activity

          Hide
          Davanum Srinivas added a comment -

          Nick,

          Could you please pick this up as well?

          thanks,
          dims

          Show
          Davanum Srinivas added a comment - Nick, Could you please pick this up as well? thanks, dims
          Hide
          Davanum Srinivas added a comment -

          Nick,

          This is a blocker for 1.2 release. Can you please help?

          thanks,
          dims

          Show
          Davanum Srinivas added a comment - Nick, This is a blocker for 1.2 release. Can you please help? thanks, dims
          Hide
          Davanum Srinivas added a comment -

          org.apache.axis2.jaxws.handler.HandlerChainProcessor is not hooked up as well

          Show
          Davanum Srinivas added a comment - org.apache.axis2.jaxws.handler.HandlerChainProcessor is not hooked up as well
          Hide
          Nick Gallardo added a comment -

          Fixed in 523344.

          The handler tests themselves are commented out though as they cause issues with the SAAJ implementation. Separate JIRAs will be opened for those.

          Show
          Nick Gallardo added a comment - Fixed in 523344. The handler tests themselves are commented out though as they cause issues with the SAAJ implementation. Separate JIRAs will be opened for those.

            People

            • Assignee:
              Nick Gallardo
              Reporter:
              Davanum Srinivas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development