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

        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

          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