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 "Hudson (Commented) (JIRA)" <ax...@ws.apache.org> on 2012/01/09 14:34:39 UTC
[jira] [Commented] (AXIS-1397) Services overview page has incorrect
link to service-wsdl if using a mapping other then /services
[ https://issues.apache.org/jira/browse/AXIS-1397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182491#comment-13182491 ]
Hudson commented on AXIS-1397:
------------------------------
Integrated in axis-trunk #51 (See [https://builds.apache.org/job/axis-trunk/51/])
AXIS-1397: Reintegrated r260178 into the XDocs.
veithen :
Files :
* /axis/axis1/java/trunk/src/site/xdoc/reference.xml
> Services overview page has incorrect link to service-wsdl if using a mapping other then /services
> -------------------------------------------------------------------------------------------------
>
> Key: AXIS-1397
> URL: https://issues.apache.org/jira/browse/AXIS-1397
> Project: Axis
> Issue Type: Bug
> Components: WSDL processing
> Affects 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, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org