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 "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org> on 2004/12/24 07:00:05 UTC
[jira] Resolved: (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=history ]
Dominik Kacprzak resolved AXIS-1397:
------------------------------------
Resolution: Fixed
Fix Version: current (nightly)
AJ, I applied your patch. Since it's been a while, I had to do it manually. Please double check the changes I made.
I took a look at other locations that Archit pointed out and I believe they are pretty harmless:
- SimpleAxisWorker - it's used only for unit testing and as Tom pointed out, there are some other issues.
- AdminClient - defines "/services" in a default URL which can be easily changed from a command line
- JettyAxisServer - our support for Jetty is pretty rudimentary and we can address it when/if it becomes an issue.
- Dominik
> 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
> Fix For: current (nightly)
> 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