You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Prat <en...@gmail.com> on 2008/05/06 22:30:20 UTC
servlet filter, url-pattern
Hello all,
I'd like to ask a Question on url-pattern pertaining to TuscanyServletFilter.
Consider the simple calculator example where the WSDL is available at
http://localhost:8080/sample-calculator-ws-webapp/AddServiceComponent?wsdl
How can I make it
http://localhost:8080/sample-calculator-ws-webapp/soap/AddServiceComponent?wsdl
and add to the web.xml the following:
<filter>
<filter-name>tuscany</filter-name>
<filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>tuscany</filter-name>
<url-pattern>/soap/*</url-pattern>
</filter-mapping>
So that all requests with /soap/* are directed to TuscanyServletFilter?
thanks!
:D