axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2982) Property visibility issues
Date Wed, 18 Jul 2007 16:03:04 GMT

    [ 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


Mime
View raw message