Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 67859 invoked from network); 17 Feb 2006 21:41:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Feb 2006 21:41:26 -0000 Received: (qmail 47116 invoked by uid 500); 17 Feb 2006 21:41:22 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 47071 invoked by uid 500); 17 Feb 2006 21:41:22 -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 47059 invoked by uid 99); 17 Feb 2006 21:41:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2006 13:41:22 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hemapani@gmail.com designates 64.233.184.207 as permitted sender) Received: from [64.233.184.207] (HELO wproxy.gmail.com) (64.233.184.207) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2006 13:41:21 -0800 Received: by wproxy.gmail.com with SMTP id i7so701287wra for ; Fri, 17 Feb 2006 13:41:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=pYbYJ/Z21BVgANd5kxR1jUpRtoWX0gG4xbxJfCJXSWeQroU9udsm8I39mAtxboNbXWeKRDbeZhwlRf3ZJc23nbMX/uglUY1+ivX+Qc2F+pevO6tMtbNSpf0hzB2gHxqFSL5klqKE6vOFl+wn3SYxbZJ5WoGvEORG5c/OaBZUZPM= Received: by 10.54.133.19 with SMTP id g19mr885434wrd; Fri, 17 Feb 2006 13:41:00 -0800 (PST) Received: by 10.54.105.8 with HTTP; Fri, 17 Feb 2006 13:41:00 -0800 (PST) Message-ID: Date: Fri, 17 Feb 2006 16:41:00 -0500 From: Srinath Perera To: "axis-dev@ws.apache.org" Subject: [Axis2]Associating more than one module aginst a give policy namespace MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All; I am talking about the client side (dynamic) policy. 1) We start with the WSDL that has policy attached. 2) At the WSDL parsing policies are attached to the information model 3) We engage modules based on policy name spaces. 4) Each engaged module will be notified about the engagement and they go look at the policy attachments and configure themselves based on the policy User get a WSDL, give it to a service client, and get service client configured. Then create a operation client and invoke. WS-Secuirty /RM etc all configured as given by the policy and just work Some policy name spaces have a wide scope (e.g. Security) and should be covered with more than one module. For an example authorization is not covered by WS-Security and I need to add authorization module that handle it. Can we allow number of modules to register under same name space and when the policy is found every one get called. Each configure himself for policy he can handle and store that in the Operation object. (Each may tell Axis2 does he need to engaged or not ) when a module is called to notify that he is engaged, he should configure himself and store the configuration some where in the operation/service he is engaged. e.g. this could be Outflow Configuration/Inflow Configuration object for WS-Security. May be we want to revise the There are lot of detail to handle, but I want to know what people think about it. After a chat with Sanka, I plan to try to implement the scenario!! thoughts? Thanks Srinath -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Srinath Perera: http://www.cs.indiana.edu/~hperera/ http://www.bloglines.com/blog/hemapani