[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


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.

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 May 20 15:02:05 UTC 2019 using JIRA 7.9.2#79002-sha1:3bb15b68ecd99a30eb364c4c1a393359bcad6278.