DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22033>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

Harcoded URL

           Summary: Harcoded URL
           Product: Axis
           Version: 1.1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Basic Architecture
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED],[EMAIL PROTECTED]


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 ([EMAIL PROTECTED]) and Jo�o Santos  
([EMAIL PROTECTED]) 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>

Reply via email to