Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 90184 invoked from network); 1 Jul 2005 09:45:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Jul 2005 09:45:06 -0000 Received: (qmail 96478 invoked by uid 500); 1 Jul 2005 09:45:01 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 96449 invoked by uid 500); 1 Jul 2005 09:45:01 -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 96436 invoked by uid 99); 1 Jul 2005 09:45:00 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NORMAL_HTTP_TO_IP,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2005 02:45:00 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id CE80A13 for ; Fri, 1 Jul 2005 11:44:57 +0200 (CEST) Message-ID: <1362517395.1120211097843.JavaMail.jira@ajax.apache.org> Date: Fri, 1 Jul 2005 11:44:57 +0200 (CEST) From: "Gopalakrishnan (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-58) RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name In-Reply-To: <424504005.1120210439608.JavaMail.jira@ajax.apache.org> 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 [ http://issues.apache.org/jira/browse/AXIS2-58?page=comments#action_12314878 ] Gopalakrishnan commented on AXIS2-58: ------------------------------------- That was a wrong fix:( it should have been int queryIndx = serviceStr.indexOf("?"); if (queryIndx > 0) operatoinName = new QName(serviceStr.substring(index + 1, queryIndx - 1)); else operatoinName = new QName(serviceStr.substring(index + 1)); > RequestURIBasedDispatcher.findService() should discard any query string in the toEPR when extracting the operation name > ----------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-58 > URL: http://issues.apache.org/jira/browse/AXIS2-58 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: core > Versions: M2 > Environment: all > Reporter: Gopalakrishnan > Priority: Minor > > The RequestURIBasedDispatcher.findService() method should take care of the possible query string that could be there in the to endpointURL. For example WS-Management will have a wsa:To in the form of http://127.0.0.1:9081/axis2/services/EchoService/echo?ResourceURI=(some URI). > When extracting the operation name from this URL we should discard teh query string. > RequestURIBasedDispatcher.java:100 : operatoinName = new QName(serviceStr.substring(index + 1)); > needs to be changed to > operatoinName = new QName(serviceStr.substring(index + 1,serviceStr.indexOf("?") - 1)); -- 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