Results 1 to 1 of 1

Thread: Spring WS and Spring MVC together.

  1. #1
    Join Date
    Jun 2006
    Location
    Smithfield, RI
    Posts
    51

    Default Spring WS and Spring MVC together.

    Hi,
    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.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •