You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Michele Mazzucco <Mi...@ncl.ac.uk> on 2006/05/17 11:30:22 UTC
[Axis2] MessageContext & properties
Hi all,
how can I get all properties from a message context? It seems to me that
the getProperty(key) method checks not only the options, but also
operation context, etc., so maybe msgCtx.getOptions().getProperties() is
not correct.
Thanks in advance,
Michele
Re: [Axis2] MessageContext & properties
Posted by Deepal Jayasinghe <de...@opensource.lk>.
Hi Michele;
pls see my comments below;
Michele Mazzucco wrote:
>Hi all,
>
>how can I get all properties from a message context? It seems to me that
> the getProperty(key) method checks not only the options, but also
>operation context, etc., so maybe msgCtx.getOptions().getProperties() is
>not correct.
>
>
You can not get all the properties from message context , I mean as a
map. But if you know the key then you can get the property from message
context very easily.
Ya , when some one ask property from the message context it is required
to search entire hierarchy to find the property until it finds the property.
msgCtx.getOptions().getProperties() , its not give you all the properties in the message context
>
>Thanks in advance,
>Michele
>
>
>
>
--
Thanks,
Deepal
................................................................
~Future is Open~