Jan 8th, 2008, 08:14 PM
Testing with interceptors?
Is there a way to unit test Spring services using interceptors? Currently I have implemented an interceptor to do some setup/initialization work that is common for each web service call. When I unit test, this logic/behavior is unavailable. The example apps show how to test the endpoint by itself. Is there a way to unit test both interceptors and endpoints together?
Jan 14th, 2008, 07:58 AM
Perhaps this is not the way to do it...
I have not received any replies which makes me think that others aren't putting common setup/initialization in interceptors. Does Spring-WS offer any hooks to implement a common "preService" method where I could put common setup/initialization logic?