Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 88484 invoked by uid 500); 12 Jun 2001 14:20:29 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 88468 invoked from network); 12 Jun 2001 14:20:25 -0000 Received: from e21.nc.us.ibm.com (32.97.136.227) by h31.sny.collab.net with SMTP; 12 Jun 2001 14:20:25 -0000 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e21.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id KAA19042 for ; Tue, 12 Jun 2001 10:13:32 -0500 Received: from d04nm204.raleigh.ibm.com (d04nm204.raleigh.ibm.com [9.67.228.13]) by southrelay02.raleigh.ibm.com (8.11.1m3/NCO v4.96) with ESMTP id f5CEKJC66222 for ; Tue, 12 Jun 2001 10:20:19 -0400 Importance: Normal Subject: Re: doLocal, jws, and http in general To: axis-dev@xml.apache.org X-Mailer: Lotus Notes Release 5.0.3 (Intl) 21 March 2000 Message-ID: From: "Doug Davis" Date: Tue, 12 Jun 2001 10:20:16 -0400 X-MIMETrack: Serialize by Router on D04NM204/04/M/IBM(Release 5.0.6 |December 14, 2000) at 06/12/2001 10:20:18 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N What are the other options? Knowing that this thing known as a URL should be mapped to a file on the filesystem seems to be clearly a transport specific task. Even knowing that something (the servlet?) should look at the request URL at all has to be a transport task. Before jws we never looked at the request URL at all - we didnt' need to - we didn't care how we got into the servlet. With jws we now care about it - where can it go without introducing the notion of URL into the rest of the product? I would imagine that the same would be true for any other transports as well. (Where's that infamous 4th choice, as mr hag used to ask for 8-) sorry - inside joke) -Dug Sam Ruby/Raleigh/IBM@IBMUS on 06/12/2001 09:57:34 AM Please respond to axis-dev@xml.apache.org To: axis-dev@xml.apache.org cc: Subject: Re: doLocal, jws, and http in general Doug Davis wrote: > > This jws stuff all depends on which piece of logic you're talking > about. Like Glen said there are two pieces, the piece that maps > the URL to a file on the file system, and then there's a piece that > actually processes the file. If certain transports (or the doLocal > option) are configured so that they by-pass the handlers that > do the URL->file mapping then yes additional lines of code will > be needed for those transports (the lines you pointed to). I would have been happy if you indicated that this was a quick hack to get something up and running, but you seem to be implying that this is intentional. I personally do not believe that the HTTP transport should have knowledge of what 'endsWith( ".jws")' means, or of any properies or constants which begin with JWS. If, however, we decide that it is the transports's responsibility to resolve the file name (if any) that this URL might resolve to, then I am OK with that. - Sam Ruby