Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 7576 invoked from network); 20 Dec 2004 17:52:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Dec 2004 17:52:35 -0000 Received: (qmail 87458 invoked by uid 500); 20 Dec 2004 17:51:01 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 87300 invoked by uid 500); 20 Dec 2004 17:50:59 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 87078 invoked by uid 99); 20 Dec 2004 17:50:57 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mtagate2.uk.ibm.com (HELO mtagate2.uk.ibm.com) (195.212.29.135) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 20 Dec 2004 09:50:53 -0800 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate2.uk.ibm.com (8.12.10/8.12.10) with ESMTP id iBKHolpN315458 for ; Mon, 20 Dec 2004 17:50:47 GMT Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1407.portsmouth.uk.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id iBKHp4Yf116454 for ; Mon, 20 Dec 2004 17:51:04 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id iBKHoluo007075 for ; Mon, 20 Dec 2004 17:50:47 GMT Received: from d06ml068.portsmouth.uk.ibm.com (d06ml068.portsmouth.uk.ibm.com [9.149.38.194]) by d06av02.portsmouth.uk.ibm.com (8.12.11/8.12.11) with ESMTP id iBKHolnu007071 for ; Mon, 20 Dec 2004 17:50:47 GMT In-Reply-To: Subject: Re: Proposed new AxisClient/AxisTransport/TransportFactory/Channel implementation. To: "Apache AXIS C Developers List" X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: John Hawkins Date: Mon, 20 Dec 2004 17:49:22 +0000 X-MIMETrack: Serialize by Router on D06ML068/06/M/IBM(Release 6.51HF338 | June 21, 2004) at 20/12/2004 17:51:00 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Fred - some minor questions: 1). When you discuss the dll being unloaded and being replaced etc. This might be quite hard - do you mean that the factory can load both at once and only returns the one that is needed at any given time i.e. maintains a hashTable of dllnames to objects? 2). In the object model you have the SecureChannel and Channel as "dll's". Can I just confirm what you are saying please. a) interfaces I don't see e.g. an ISecureChannel. Would it not be better (more explicit and perhaps necessary) to have an ISecureChannel and a IChannelImpl (or similar). b) the "Objects" just happen to be packaged as seperate dll's right ? An object model is a strange place to put the dll point - semantics I know :-) 3). Why doesn't the Factory get the details of the dll names from the config object itself (thus improving the lifecycle of the factory)? John Hawkins Fred Preston/UK/IBM@IBMGB wrote on 20/12/2004 16:00:06: > > > > > Hi All, > Here is a very rough draft of the > AxisTransport/TransportFactory/Channel model that I want to discuss... > > Object Model (See attached file: SSLModel.jpg) > Sequence Model (See attached file: Sequence.jpg) > > I have missed out a lot of the detail (and 'secondary' methods), as this is > not important at this stage. In this design, AxisTransport and > ChannelFactory would be part of AxisClient (i.e, not separately loadable). > The IChannel Interface would be the template for any Channel implementation > (in the form of a DLL). There would be one Channel implementation for a > 'standard', non secure channel that would be built as a separate DLL whose > file name would be added to the AxisCpp.config file so that it could be > loaded by the ChannelFactory. There would be one SecureChannel > implementation for an openSSL secure channel that would also be built as > another separate DLL, whose file name would also be added to the > AxisCpp.config file. Thus if a user requires their own version of either > the Channel or SecureChannel implementation, they need only overwrite the > existing code and build their own Channel or SecureChannel DLL without > having to rebuild the core AxisClient code base. > > Regards, > > Fred Preston. > > > > > Fred > Preston/UK/IBM@IB To: "'Apache > AXIS C Developers List'" > MGB cc: > Subject: 1.4 release > still does not work with SSL channels. > 20/12/04 13:09 > Please respond to > "Apache AXIS C > Developers List" > > > > > > > > > Hi All, > I've just tried to use SSL in the 1.4 release and it still does not > work on Linux or Windows... I'm in the process of coming up with a model > that will try to explain how I think the whole Channel/Transport area > should be organised and will be looking for comment. I hope to send out a > rough draft this afternoon. > > Regards, > > Fred Preston. > > [attachment "SSLModel.jpg" deleted by John Hawkins/UK/IBM] > [attachment "Sequence.jpg" deleted by John Hawkins/UK/IBM]