Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 51326 invoked from network); 18 Jul 2007 16:03:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2007 16:03:44 -0000 Received: (qmail 82168 invoked by uid 500); 18 Jul 2007 16:03:29 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 82114 invoked by uid 500); 18 Jul 2007 16:03:29 -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 82101 invoked by uid 99); 18 Jul 2007 16:03:29 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2007 09:03:28 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2007 09:03:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D7C8E7141EE for ; Wed, 18 Jul 2007 09:03:04 -0700 (PDT) Message-ID: <31629141.1184774584864.JavaMail.jira@brutus> Date: Wed, 18 Jul 2007 09:03:04 -0700 (PDT) From: "Jarek Gawor (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-2982) Property visibility issues In-Reply-To: <3979025.1184737804442.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513632 ] Jarek Gawor commented on AXIS2-2982: ------------------------------------ I updated the AddNumbersTests test case to check if the HTTP Request/Response/Response code properties are properly set and exposed to the service and a client. > Property visibility issues > -------------------------- > > Key: AXIS2-2982 > URL: https://issues.apache.org/jira/browse/AXIS2-2982 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: jaxws > Reporter: Jarek Gawor > > Certain properties like the HTTP_STATUS_CODE or HTTP_HEADERS are set on the kernel MessageContext using setProperty() method. That method stores the properties in the "properties" map of the AbstractContext. Now, the jaxws MessageContext implementation of the setProperty() (and other relevant methods) delegate the calls to the Options object of the kernel MessageContext. That means, if for example HTTP_STATUS_CODE is looked up via getProperty() method of the jaxws MessageContext the value will not be found (because the value is not stored in the Options object). > One easy way to fix this is to change the jaxws MessageContext.getProperty() implementation to directly call kernel MessageContext.getProperty() method. The kernel's MessageContext.getProperty() first looks up the value in the AbstractContext and if it can't find it there, it next looks up the value in the Options object. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org