Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 38771 invoked from network); 25 Jun 2007 00:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2007 00:46:05 -0000 Received: (qmail 94696 invoked by uid 500); 25 Jun 2007 00:46:05 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 94633 invoked by uid 500); 25 Jun 2007 00:46:04 -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 94620 invoked by uid 99); 25 Jun 2007 00:46:04 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jun 2007 17:46:04 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [209.68.5.16] (HELO relay02.pair.com) (209.68.5.16) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 24 Jun 2007 17:45:59 -0700 Received: (qmail 33029 invoked by uid 0); 25 Jun 2007 00:45:36 -0000 Received: from 124.43.222.70 (HELO ?192.168.101.103?) (124.43.222.70) by relay02.pair.com with SMTP; 25 Jun 2007 00:45:36 -0000 X-pair-Authenticated: 124.43.222.70 Message-ID: <467F102E.3000000@opensource.lk> Date: Mon, 25 Jun 2007 06:15:34 +0530 From: Sanjiva Weerawarana Organization: WSO2 Inc. User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: [Axis2] Accessing properties set in options of the service client References: <559c463d0706240059n1d333669yf1482480a10eca88@mail.gmail.com> <467EFFCB.2030006@opensource.lk> In-Reply-To: <467EFFCB.2030006@opensource.lk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org +1. I don't think its at all correct to blindly copy all properties from in to out (or out to in). That's what the message receiver (or operation client, in Ruchith's case) must do for what it wants to copy. If the user explicitly wants to share stuff either they have to set it on the message context and explicitly get it from it or set it directly on the operation context and share it across all message contexts in that interaction. Sanjiva. Eran Chinthaka wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > This is a delicate issue, IIUC. We do copy some properties from request > path to the response path, but not all. And also I don;t think we are > copying all the properties to response properties. BTW, do we need to do > that? > Isn't it that you should set your properties to OperationContext if you > want to get them in the response path? See for example, if I set the > property addressingProcessed=true (a hypothetical property) to message > context in the request path, it will be a disaster if you copy this > property to out message context. > > So I think current behavior is correct. > > Chinthaka > > Ruchith Fernando wrote: >> Hi Devs, >> >> Some of the Rampart tests are failing due the properties set in the >> options object of the ServiceClient are not available in the inflow to >> be accessed by a handler (out-in operation). The properties are >> available in only the outflow. >> >> Is this behavior correct? >> >> Thanks, >> Ruchith >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-dev-help@ws.apache.org >> >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGfv/LjON2uBzUhh8RAh1hAJ0YCrqYQJwPOPTXZYLROo27kwTS+QCcCaZw > L+DgcCaFW9rRnfz9UCiTv3c= > =eK+0 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-dev-help@ws.apache.org > > -- Sanjiva Weerawarana, Ph.D. Founder & Director; Lanka Software Foundation; http://www.opensource.lk/ Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/ Director; Open Source Initiative; http://www.opensource.org/ Member; Apache Software Foundation; http://www.apache.org/ Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/ --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org