[
https://issues.apache.org/jira/browse/AXIS2-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Gawor resolved AXIS2-2982.
--------------------------------
Resolution: Fixed
I changed the code to us getProperty() instead of getOptions().getProperty().
Committed revision 557159.
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]