You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ellis Pritchard <el...@nukinetics.com> on 2004/03/23 16:45:59 UTC

services prefix assumption in org.apache.axis.transport.http.AxisServlet

Hi,

There seems to be a small but rash assumption that all axis 
installations have the URL pattern /*/services in 
AxisServlet.reportAvailableServices; the code (Axis 1.x) says:

        String baseURL = getWebappBase(request)+"/services/";

which generates the base for the URL used to show the list of services.

This means that the AxisServlet mapping url-pattern in web.xml cannot be 
anything other than /services, otherwise the Available Services feature 
doesn't work properly.

Anyone fancy correcting this?

Ellis.



Re: services prefix assumption in org.apache.axis.transport.http.AxisServlet

Posted by Ellis Pritchard <el...@nukinetics.com>.
Hi,

Actually, this is bug #22033:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22033

Ellis.


Ellis Pritchard wrote:

> Hi,
>
> There seems to be a small but rash assumption that all axis 
> installations have the URL pattern /*/services in 
> AxisServlet.reportAvailableServices; the code (Axis 1.x) says:
>
>        String baseURL = getWebappBase(request)+"/services/";
>
> which generates the base for the URL used to show the list of services.
>
> This means that the AxisServlet mapping url-pattern in web.xml cannot 
> be anything other than /services, otherwise the Available Services 
> feature doesn't work properly.
>
> Anyone fancy correcting this?
>
> Ellis.
>