You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, getInterceptors() should be (but that seems more wrong and would break backwards compatibility).
I tripped over this trying to use Spring AOP to weave aspects around some of the other methods in WebServiceTemplate; I couldn't work out why the interceptors weren't being called during the send/receive process, but worked fine without the aspect. Finally I noticed that setInterceptors is final but getInterceptors is not, so the set was saving the array of interceptors in the proxy but the get was retrieving them from the underlying instance (whose array was of course empty).
The text was updated successfully, but these errors were encountered:
Alternatively,
getInterceptors()
should be (but that seems more wrong and would break backwards compatibility).I tripped over this trying to use Spring AOP to weave aspects around some of the other methods in
WebServiceTemplate
; I couldn't work out why the interceptors weren't being called during the send/receive process, but worked fine without the aspect. Finally I noticed thatsetInterceptors
is final butgetInterceptors
is not, so the set was saving the array of interceptors in the proxy but the get was retrieving them from the underlying instance (whose array was of course empty).The text was updated successfully, but these errors were encountered: