Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 49149 invoked from network); 9 May 2006 03:25:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2006 03:25:09 -0000 Received: (qmail 46405 invoked by uid 500); 9 May 2006 03:25:03 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 46382 invoked by uid 500); 9 May 2006 03:25:02 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 46371 invoked by uid 99); 9 May 2006 03:25:02 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 20:25:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 20:25:02 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D5450410006 for ; Tue, 9 May 2006 03:24:20 +0000 (GMT) Message-ID: <11268652.1147145060855.JavaMail.jira@brutus> Date: Tue, 9 May 2006 03:24:20 +0000 (GMT+00:00) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-693) Webapp bugs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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