[SWS-883] AbstractAddressingEndpointMapping not calling SmartEndpointInterceptor.shouldIntercept while creating invocation chain Created: 04/Dec/14  Updated: 25/Mar/15  Resolved: 05/Dec/14

Status: Closed
Project: Spring Web Services
Component/s: Core
Affects Version/s: 2.2.0.RELEASE
Fix Version/s: 2.2.1

Type: Bug Priority: Major
Reporter: Nate Stoddard Assignee: Greg Turnquist
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Reference URL: http://stackoverflow.com/questions/27276302/whats-the-proper-way-of-configuring-a-soapactionsmartendpointinterceptor-along
Pull Request URL: https://github.com/spring-projects/spring-ws/pull/27

 Description   

AbstractAddressingEndpointMapping adds all SmartEndpointInterceptors to its SoapEndpointInvocationChain without calling shouldIntercept() on each instance. Contract this to AbstractEndpointMapping which does call shouldIntercept() on each interceptor and only adds ones that return true to its chain.

AbstractAddressingEndpointMapping should be enhanced to invoke shouldIntercept and only add the necessary SmartEndpointInterceptors to its SoapEndpointInvocationChain.



 Comments   
Comment by Arjen Poutsma [ 05/Dec/14 ]

PR at https://github.com/spring-projects/spring-ws/pull/27

Comment by Arjen Poutsma [ 05/Dec/14 ]

SO question at http://stackoverflow.com/questions/27276302/whats-the-proper-way-of-configuring-a-soapactionsmartendpointinterceptor-along/27291014

Comment by Greg Turnquist [ 05/Dec/14 ]

@arjen No problem. Thanks!

Generated at Mon Dec 18 03:03:29 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.