Not seeing the AxisServlet being invoked for /services/* url-pattern...

 

Web.xml

 

************************************************************************
***

  <servlet>

    <servlet-name>AxisServlet</servlet-name> 

    <display-name>Apache-Axis Servlet</display-name>

 
<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-clas
s> 

        <init-param>

        </init-param>

    <load-on-startup>1</load-on-startup>

  </servlet>

 

    <servlet-mapping>

        <servlet-name>AxisServlet</servlet-name>

        <url-pattern>/servlet/AxisServlet</url-pattern>

    </servlet-mapping>

 

    <servlet-mapping>

        <servlet-name>AxisServlet</servlet-name>

        <url-pattern>*.jws</url-pattern>

    </servlet-mapping>

 

    <servlet-mapping>

        <servlet-name>AxisServlet</servlet-name>

        <url-pattern>/services/*</url-pattern>

    </servlet-mapping>

 

    <mime-mapping>

        <extension>inc</extension>

        <mime-type>text/plain</mime-type>

    </mime-mapping>

 

******************************* EOF
**************************************

 

Apache access INFO

 

127.0.0.1 - - [05/May/2008:12:05:30 -0400] "GET /services/TestService
HTTP/1.1" 404 306

 

Note there is no corresponding entry in the TOMCAT access log.

 

Interestingly, we are also using struts, which has a
<url-pattern>*.do</url-pattern> this produces some odd results...

 

If I execute the following URL

 

http://localhost//test/foo.do?SERIALNUMBER=XXX&STATUS=2

 

the appropriate struts action gets called... however If I do this....

 

http://localhost//services/foo.do <http://localhost/services/foo.do> 

 

I end up in my AxisServlet break point. Which is where I want to be, but
not using the *.do

 

Any ideas or help is much appreciated.

 

 

Kurt

Reply via email to