-
Notifications
You must be signed in to change notification settings - Fork 317
Description
Venkat Ganesh opened SWS-779 and commented
I am following the instructions available at spring-ws-2.1.0.RELEASE/samples/echo/readme.txt. The file spring-ws-2.1.0.RELEASE/samples/echo/server/target/echo-server.war is successfully deployed at apache-tomcat-7.0.22/webapps/echo-server. When I run the client program "mvn install exec:java" from spring-ws-2.1.0.RELEASE/samples/echo/client/spring-ws/ directory, I can verify call stacks 1 and 2, attached to this issue does get invoked and the program completes successfully.
However, I have set breakpoint for PayloadValidatingInterceptor class and also the methods in this class. The interceptor is not getting invoked. Why, the interceptor's callback methods are not getting called? My intent is to to add some application logic when the interceptor call back method is called after I can verify the callbacks are really getting called.
Thanks and regards,
$ grep PayloadValidatingInterceptor spring-ws-2.1.0.RELEASE/samples/echo/server/src/main/webapp/WEB-INF/spring-ws-servlet.xml
<bean class="org.springframework.ws.soap.server.endpoint.interceptor.PayloadValidatingInterceptor">
Break points are here:
PayloadValidatingInterceptor
EchoEndpoint [line: 67] - EchoEndpoint(EchoService)
EchoEndpoint [line: 83] - handleEchoRequest(Element)
PayloadValidatingInterceptor [line: 52] - getValidationRequestSource(WebServiceMessage)
PayloadValidatingInterceptor [line: 63] - getValidationResponseSource(WebServiceMessage)
WebServiceMessageReceiverHandlerAdapter [line: 50] - getLastModified(HttpServletRequest, Object)
WebServiceMessageReceiverHandlerAdapter [line: 56] - handle(HttpServletRequest, HttpServletResponse, Object)
WebServiceMessageReceiverHandlerAdapter [line: 72] - supports(Object)
WebServiceMessageReceiverHandlerAdapter [entry] - getLastModified(HttpServletRequest, Object)
WebServiceMessageReceiverHandlerAdapter [entry] - handle(HttpServletRequest, HttpServletResponse, Object)
WebServiceMessageReceiverHandlerAdapter [entry] - supports(Object)
Affects: 2.1 GA
Attachments:
- callstack1.txt (1.74 kB)
- callstack2.txt (2.56 kB)