axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Kacprzak (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Resolved: (AXIS-983) Harcoded URL
Date Fri, 24 Dec 2004 06:00:13 GMT
     [ http://nagoya.apache.org/jira/browse/AXIS-983?page=history ]
     
Dominik Kacprzak resolved AXIS-983:
-----------------------------------

      Assign To:     (was: Axis Developers Mailing List)
     Resolution: Fixed
    Fix Version: current (nightly)

Santos,

thank you for your suggestion.  We decided to implement an alternative solution.  For more
information, please see AXIS-1397.

cheers,

- Dominik

> Harcoded URL
> ------------
>
>          Key: AXIS-983
>          URL: http://nagoya.apache.org/jira/browse/AXIS-983
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.1
>  Environment: Operating System: Linux
> Platform: Other
>     Reporter: Santos
>      Fix For: current (nightly)

>
> Hi,  
>   
> We've found that if we change the default content of url-pattern element in  
> web.xml from <url-pattern>/services/*</url-pattern> to, for instance,   
> <url-pattern>/webservices/*</url-pattern>, the page that lists the available
 
> services/operations is badly generated. The link that should display the web  
> service WSDL is broken.  
> This is caused by harcoded 'services' string on method  
> reportAvailableServices() of class org.apache.axis.transport.http.AxisServlet,  
> as shown below:  
>   
> String baseURL = getWebappBase(request)+"/services/";  
>   
> It is very likely that string "/services/" should be replaced by a dynamically  
> retrieved string, according to either request URL or web.xml url-pattern.  
>   
> We humbly suggest that Axis hardcoded HTML pages could be built by JSP (with  
> the aid of a simple JavaBean and forwarding [AxisServlet -> list.jsp]) or  
> similar technology, in order for people to easily change the HMTL layouts with  
> no need for recompliling Axis sources (one would simply edit JSPs).  
>   
> BTW, we are Santos (jlsanctus@yahoo.co.uk) and João Santos  
> (jmsantos@mail.pt) and if you feel that this information is helpful and we  
> deserve to be added to the contributors list ( :-) ), PLEASE feel free to do  
> so.  
>   
> We look forward for your feedback.  
>   
> Best regards,  
> <contributors>  
> 	<contributor name="Santos" />  
> 	<contributor name="João Santos" />  
> </contributors>

-- 
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


Mime
View raw message