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

EndPointIntercepters do not respect the (Autowired) properties provided in beans XML


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.5, 2.1.1
    • Fix Version/s: 2.1.3
    • Component/s: Core
    • Labels:
    • Environment:
      Windows, IBM JDK, Tomee


      Wehn defining a EndpointIntercepter with the <sws:interceptors>..</sws:interceptors>
      Properties either added with a @Autowired annotation or added in the bean definition with <property... are not respected.

      The instances of the interceptors each have a different instance of that property. Even when the property inserted is explicitly decorated with the singleton scope.

      The attachment provides a snippet of the code.

      1. sample.txt
        0.7 kB
        Pieter van der Meer


        pieni Pieter van der Meer created issue -
        arjen.poutsma Arjen Poutsma made changes -
        Field Original Value New Value
        Priority Blocker [ 1 ] Major [ 3 ]
        arjen.poutsma Arjen Poutsma made changes -
        Assignee Arjen Poutsma [ arjen.poutsma ]
        arjen.poutsma Arjen Poutsma made changes -
        Fix Version/s 2.1.3 [ 13897 ]
        arjen.poutsma Arjen Poutsma made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        arjen.poutsma Arjen Poutsma added a comment - I wrote a test to reproduce this issue, but I cannot do so. See https://github.com/SpringSource/spring-ws/blob/master/core/src/test/java/org/springframework/ws/config/InterceptorsBeanDefinitionParserTest.java#L66
        arjen.poutsma Arjen Poutsma made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Cannot Reproduce [ 5 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        125d 20h 39m 1 Arjen Poutsma 09/Apr/13 3:22 AM
        In Progress In Progress Resolved Resolved
        24m 25s 1 Arjen Poutsma 09/Apr/13 3:46 AM


          • Assignee:
            arjen.poutsma Arjen Poutsma
            pieni Pieter van der Meer
          • Votes:
            0 Vote for this issue
            2 Start watching this issue


            • Created: