Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 31564 invoked from network); 28 Aug 2009 17:18:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Aug 2009 17:18:56 -0000 Received: (qmail 21865 invoked by uid 500); 28 Aug 2009 17:18:55 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 21787 invoked by uid 500); 28 Aug 2009 17:18:55 -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 21778 invoked by uid 99); 28 Aug 2009 17:18:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 17:18:55 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of deepalk@gmail.com designates 209.85.217.207 as permitted sender) Received: from [209.85.217.207] (HELO mail-gx0-f207.google.com) (209.85.217.207) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Aug 2009 17:18:46 +0000 Received: by gxk3 with SMTP id 3so2773665gxk.14 for ; Fri, 28 Aug 2009 10:18:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=l08pJ8YR8/fefzY4bVdOd7vzLCDZGyCYsdW+k/Uu5RU=; b=D+N6CyRbEF1cC69v9kf/VOMnVnm9tlyEBlgl9p5T8nIDOBjOuQvETM/xnT/m2HfWAs pU5T+DovstBEhclJlPDhThRIBUMvjyI7851SRL2DRXWwQYnzuTP3IQIaR4bN+P5/j5tK RPgGLlz2Jbycv8+ZLIXT3nGiALsCBwiQ9tlWU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=kPv0rCvMnCcVgMGgQVVX8cELSqMiByM2bTSof2fzT5qenfiYSGAgcfS1Wfiv9Tg4Qu liOmO4Pb794OyrGX4xOeKN65rDXAZ4rrtpaGkE9/6APB6B4+A/6gB72tQGjlFoXvbBDx gyQDNIXoeGCwA7088/SMHiQOL9qZUxnsZx2xg= Received: by 10.91.22.6 with SMTP id z6mr1103933agi.65.1251479905352; Fri, 28 Aug 2009 10:18:25 -0700 (PDT) Received: from ?192.168.1.101? (adsl-215-223-62.aep.bellsouth.net [68.215.223.62]) by mx.google.com with ESMTPS id 20sm2909088agd.23.2009.08.28.10.18.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 28 Aug 2009 10:18:24 -0700 (PDT) Message-ID: <4A98115E.7030901@gmail.com> Date: Fri, 28 Aug 2009 13:18:22 -0400 From: Deepal jayasinghe User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: Supporting hierarchical service deployment References: <4A97DCFC.4030708@gmail.com> In-Reply-To: X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org > > Yes this introduces new URL patterns. To be exact, the URI based > dispatcher treats the '/' character to separate service name and > operation name (if any). But in this new case, service name can have > '/' character. Dont you think that is confusing ? how do you know whether it is service version or the operation ? > If look at my patch carefully, I have handled this without affecting > the existing behaviour. It first tries to find the service in the > normal manner. If not found, checks whether this is a hierarchical > service. I already commented on this by looking at the patch. The way you have handle is not correct. > > > > > > Currently Axis2 can only deploy services at the repository/services > > level. This makes it impossible to deploy several versions of > the same > > service. > I do not agree, you can have the version name in the aar file, for > example foo-1.0.aar and foo-1.1.aar. Then at the deployment time just > append the version number to the service name (to make the service > name > unique) > > > Yes you can do that. But when you implement that, it introduces '.' > characters into the service name. That clashes with the logic to > identify the endpoint. Yes this endpoint concept is something we introduce in wrong way, which broke some of the useful scenarios. > Therefore even if you do it that way, most of my fixes are needed. If the "." is taken we can take something else like "-", which would nice and easy than having "/" > > > Can you please explain some real scenarios in which this breaks the > existing functionality? When you add "if-else" statement into your code, which add two control paths, so we need to test all of them. Second when you do some code changes on critical path how do you make sure that you do not break anything. If you want any proof just go and look axis mail archives, some times people do very small modification and it took a long time to identify and fix them.