Announcement Announcement Module
Collapse
No announcement yet.
Deploying spring-ws on an existing spring-mvc application: filter mapping Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Deploying spring-ws on an existing spring-mvc application: filter mapping

    Hello,

    In the spring-ws tutorials filter mapping for the MessageDispatcherServlet is defined as /* . If I deploy this web-service as part of a spring-mvc application, this filtering will catch all regular requests. How can make this filter more specific to the webservice so that regular requests are passing through?

    For the spring-ws I am following this tutorial: http://jeromebulanadi.wordpress.com/...t-to-security/

    --Thanks.

  • #2
    Spring-ws are handled by a servlet, identical to the regular servlet –– for the intents of this discussion. So it can be mapped same way.

    For example, the following mapping, relative to the context of the given application

    <filter-mapping>/sso/*</filter-mapping>

    will allow the webservice to be called by a URL, which contains "/sso/" prefix. These calls then will be forwarded to the ws servlet.

    --

    Comment

    Working...
    X