Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 91558 invoked from network); 13 Jan 2008 13:27:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jan 2008 13:27:01 -0000 Received: (qmail 14123 invoked by uid 500); 13 Jan 2008 13:26:50 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 14003 invoked by uid 500); 13 Jan 2008 13:26:50 -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 13992 invoked by uid 500); 13 Jan 2008 13:26:50 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 13988 invoked by uid 99); 13 Jan 2008 13:26:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2008 05:26:50 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2008 13:26:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D195C1A983A; Sun, 13 Jan 2008 05:26:39 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r611573 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java Date: Sun, 13 Jan 2008 13:26:39 -0000 To: axis2-cvs@ws.apache.org From: keithc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080113132639.D195C1A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: keithc Date: Sun Jan 13 05:26:39 2008 New Revision: 611573 URL: http://svn.apache.org/viewvc?rev=611573&view=rev Log: Changing the order in which dispatchers are invoked. Using the HTTPLocation dispatcher first as its more likely to dispatch in the REST case. Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java?rev=611573&r1=611572&r2=611573&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java (original) +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/util/RESTUtil.java Sun Jan 13 05:26:39 2008 @@ -141,14 +141,13 @@ requestDispatcher.invoke(msgContext); AxisService axisService = msgContext.getAxisService(); if (axisService != null) { - RequestURIOperationDispatcher requestURIOperationDispatcher = - new RequestURIOperationDispatcher(); - requestURIOperationDispatcher.invoke(msgContext); - + HTTPLocationBasedDispatcher httpLocationBasedDispatcher = + new HTTPLocationBasedDispatcher(); + httpLocationBasedDispatcher.invoke(msgContext); if (msgContext.getAxisOperation() == null) { - HTTPLocationBasedDispatcher httpLocationBasedDispatcher = - new HTTPLocationBasedDispatcher(); - httpLocationBasedDispatcher.invoke(msgContext); + RequestURIOperationDispatcher requestURIOperationDispatcher = + new RequestURIOperationDispatcher(); + requestURIOperationDispatcher.invoke(msgContext); } AxisOperation axisOperation; --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org