Jan 24th, 2011, 02:50 PM
Spring WS and Spring MVC together.
I have a spring webservices application and we need to develop a small monitor page which shows performance of service requests, hits, etc.
I created two servlets
1. org.springframework.ws.transport.http.MessageDispa tcherServlet for Webservices
2. org.springframework.web.servlet.DispatcherServlet for Web MVC requests.
Also I created one applicationContext.xml for shared beans across both these contexts and it is defined in web.xml.
I went through the airline example and tried to do the same, but when i start injecting the beans defined in applicationContext.xml, I am starting to get "bean not found" etc..
I have attached the web.xml in this thread.
Please let me know how to share the beans between the contexts. Thanks.