Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-691

Annotation-driven tag does not support ws-addressing @Action

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0 GA
    • Fix Version/s: 2.0.1
    • Component/s: Core
    • Labels:
      None
    • Environment:
      Windows XP, IBM WebSphere 7

      Description

      Objects annotated with @Action should be picked up by the sws:annotation-driven tag (triggered with AnnotationActionEndpointMapping), but this fails because the AnnotationDrivenBeanDefinitionParser does not register all possible endpoint mappings in the registerEndpointMappings method.

      Ws-addressing support is not working without explicit adding the AnnotationActionEndpointMapping in the Spring context.

      Workaround:

      Add the following line to the Spring context xml:
      <bean class="org.springframework.ws.soap.addressing.server.AnnotationActionEndpointMapping" />

        Activity

        willemvd Willem van Dreumel created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Fix Version/s 2.0.1 [ 11810 ]
        arjen.poutsma Arjen Poutsma made changes -
        Assignee Arjen Poutsma [ arjen.poutsma ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        arjen.poutsma Arjen Poutsma logged work - 22/Mar/11 5:00 AM
        • Time Spent:
          0.1h
           
          <No comment>
        arjen.poutsma Arjen Poutsma made changes -
        Time Spent 0.1h [ 360 ]
        Remaining Estimate 0d [ 0 ]
        arjen.poutsma Arjen Poutsma made changes -
        Resolution Fixed [ 1 ]
        Status In Progress [ 3 ] Resolved [ 5 ]
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Fixed.

        Show
        arjen.poutsma Arjen Poutsma added a comment - Fixed.
        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        Closing old issues

        Show
        arjen.poutsma Arjen Poutsma added a comment - Closing old issues
        arjen.poutsma Arjen Poutsma made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        42d 1h 2m 1 Arjen Poutsma 22/Mar/11 4:53 AM
        In Progress In Progress Resolved Resolved
        7m 3s 1 Arjen Poutsma 22/Mar/11 5:01 AM
        Resolved Resolved Closed Closed
        409d 2h 2m 1 Arjen Poutsma 04/May/12 7:03 AM

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            willemvd Willem van Dreumel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0d
              0d
              Logged:
              Time Spent - 0.1h
              0.1h