OpenEJB
  1. OpenEJB
  2. OPENEJB-717

ServiceRef converts JAX-RPC handlers into JAX-WS handlers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 3.0
    • Component/s: deployment
    • Labels:
      None

      Description

      org.apache.openejb.jee.ServiceRef.getHandlerChains() function effectively converts JAX-RPC handlers into JAX-WS handlers. The JAX-RPC handlers should only be listed directly under the <service-ref> entry while the JAX-WS handlers should be listed under the <handler-chains> element. The current function will transform the handlers if the getHandlerChains() function is called and when the ServiceRef is serialized the JAX-RPC handlers will appear under the <handler-chains> element. That is incorrect.

        Activity

        Hide
        Jarek Gawor added a comment -

        A patch for ServiceRef that does not result in JAX-RPC handlers to be serialized as JAX-WS handlers.

        Show
        Jarek Gawor added a comment - A patch for ServiceRef that does not result in JAX-RPC handlers to be serialized as JAX-WS handlers.
        Hide
        David Blevins added a comment -

        Great patch, Jarek. Sorry it didn't get in for beta 2 (didn't see it), but you're good to go for 3.0 final

        $ svn ci
        Sending container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java
        Sending container/openejb-core/src/main/java/org/apache/openejb/config/JndiEncInfoBuilder.java
        Sending container/openejb-jee/src/main/java/org/apache/openejb/jee/ServiceRef.java
        Transmitting file data ...
        Committed revision 617344.

        Show
        David Blevins added a comment - Great patch, Jarek. Sorry it didn't get in for beta 2 (didn't see it), but you're good to go for 3.0 final $ svn ci Sending container/openejb-core/src/main/java/org/apache/openejb/config/AnnotationDeployer.java Sending container/openejb-core/src/main/java/org/apache/openejb/config/JndiEncInfoBuilder.java Sending container/openejb-jee/src/main/java/org/apache/openejb/jee/ServiceRef.java Transmitting file data ... Committed revision 617344.

          People

          • Assignee:
            Jarek Gawor
            Reporter:
            Jarek Gawor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development