axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-693) Webapp bugs
Date Tue, 09 May 2006 03:24:20 GMT
Webapp bugs
-----------

         Key: AXIS2-693
         URL: http://issues.apache.org/jira/browse/AXIS2-693
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug

    Reporter: Davanum Srinivas


From: Steve Barham <steve.barham@formicary.net>	Mailed-By: ws.apache.org
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Date: May 8, 2006 6:20 AM
Subject: [Axis2] Webapp bugs

Hiya,

Am surprised that noone else has mentioned these so far. Clearly too many
Tomcat users on this project!

1. In the service listing, the links to the services are emitted in the
following style:

http://localhost/axis2-web/services/version?wsdl

This will fail to work under certain application containers, most notable
Ironflare Orion. This is because the list service is checked with the
following conditional (ListingAgent, line 87):

if (httpServletRequest.getParameter("wsdl") != null ||
   httpServletRequest.getParameter("xsd") != null) {
   processListService(httpServletRequest, httpServletResponse);
} else {
   super.handle(httpServletRequest, httpServletResponse);
}

In this case, as wsdl or xsd do not have any value assigned to them, they
do not have entries in the httpServletRequest parameter map. This can be
solved by changing the links to be of the following form:

http://localhost/axis2-web/services/version?wsdl=1

An alternative change would be to use the pathinfo to determine what
action to take, rather than the parameter value.

2. The listServices.jsp page is included by ListingAgent. As such, the
content type declaration of text/html with utf-8 encoding made in the
page's JSP header is clobbered, resulting in FireFox and other browsers
displaying it as text/plain.

Cheers,

steve



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message