You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2004/12/02 14:19:22 UTC

[jira] Commented: (AXIS-1397) Services overview page has incorrect link to service-wsdl if using a mapping other then /services

     [ http://nagoya.apache.org/jira/browse/AXIS-1397?page=comments#action_56100 ]
     
Davanum Srinivas commented on AXIS-1397:
----------------------------------------

tom, glen, 
any comment on this patch?

thanks,
dims

> Services overview page has incorrect link to service-wsdl if using a mapping other then /services
> -------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1397
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1397
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: current (nightly)
>     Reporter: AJ Banck
>  Attachments: patch-ServicesPath2.txt, patch-servicespath.txt
>
> The URL location to the services is hardcoded to '/services' in the generated page of available services.
> AxisServlet.reportAvailableServices[455] has:
>         String baseURL = getWebappBase(request)+"/services/";
> This path is defined in the mapping of web.xml So if the web.xml has a mapping on another url, the services overview doesn't work.
> For example, we have different URL's for different versions of the application's API. This maps the services like:
>     <servlet-mapping>
>         <servlet-name>AxisServlet</servlet-name>
>         <url-pattern>/api4/services/*</url-pattern>
>     </servlet-mapping>
> With this the {baseurl}/api4/services shows the overview of services, but clicking on one of the WSDL  links  (linking to {baseurl}/services/myservice?wsdl}throws a 404.
> The wsdl is available at {baseurl}/api4/services/myservice?wsdl
> Not sure what the best solution is. Can AxisServlet find out what the mapping used is, or should it be a variable?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira