Do I need the Axis servlet? I assumed it wasn't necessary.

I didn't have a web.xml file, so I copied the one in the axis webapp,
and have the following as my only servlet and servlet mapping nodes
(and kept the mime mappings, etc):

<servlet>
    <servlet-name>TaskWS</servlet-name>
    <display-name>Task Web Services</display-name>
    <servlet-class>
        com.freelancingGods.life.lifeCore.TaskWS
    </servlet-class>
  </servlet>
  
  <servlet-mapping>
    <servlet-name>TaskWS</servlet-name>
    <url-pattern>/taskServices/*</url-pattern>
  </servlet-mapping>


On Fri, 15 Oct 2004 08:23:09 +0100, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>  
> Pat, 
>  
> By default, Axis has a mapping, in WEB-INF/web.xml, that specifies a URI of
> "/services/*", to get to the Axis servlet (and, thus, to the services). This
> is the path below the context root. It looks like your context root is
> "taskServices", but I'm not sure what mapping you have for the Axis servlet,
> since you didn't include that information. It looks like you have changed
> the mapping from "/services/*" to "/TaskWS/*", except that I wouldn't then
> expect the error you got, when trying to generate the WSDL. 
>  
> So, I'm a little confused by your setup but maybe this has given you some
> hints. 
>  
> Tony 
>

Reply via email to