Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 73133 invoked from network); 5 Oct 2009 05:21:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Oct 2009 05:21:34 -0000 Received: (qmail 97531 invoked by uid 500); 5 Oct 2009 05:21:34 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 97361 invoked by uid 500); 5 Oct 2009 05:21:33 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 97352 invoked by uid 500); 5 Oct 2009 05:21:33 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 97349 invoked by uid 99); 5 Oct 2009 05:21:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 05:21:33 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2009 05:21:30 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B553723888C2; Mon, 5 Oct 2009 05:20:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r821686 - /webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java Date: Mon, 05 Oct 2009 05:20:39 -0000 To: axis2-cvs@ws.apache.org From: amilas@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091005052039.B553723888C2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: amilas Date: Mon Oct 5 05:20:39 2009 New Revision: 821686 URL: http://svn.apache.org/viewvc?rev=821686&view=rev Log: correct the logice if the request is secure it should get https Modified: webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java Modified: webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java?rev=821686&r1=821685&r2=821686&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java (original) +++ webservices/axis2/trunk/java/modules/transport/http/src/org/apache/axis2/transport/http/AxisServlet.java Mon Oct 5 05:20:39 2009 @@ -621,8 +621,8 @@ initContextRoot(req); TransportInDescription transportInDescription = - req.isSecure()? this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTP) : - this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTPS); + req.isSecure()? this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTPS) : + this.axisConfiguration.getTransportIn(Constants.TRANSPORT_HTTP); if (transportInDescription == null){ throw new ServletException(req.getScheme() + " is forbidden");