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 Christophe Denis <ch...@gmail.com> on 2007/01/22 11:56:02 UTC

[axis2] Sharing Data between flows

Hello together,

I'm trying to share data between IN_FLOW and OUT_FLOW. I would like to
set a property when the request comes in and do something with it,
just before the response is sent back. I will store the property in
the operationContext, but everytime when I try to access it, it is
null. The place where I do this is in a own handler, which logs some
data.

Has someone an idea of what is going wrong here? Do I have to
implement some other workaround to enable access to an
operationContext? Does someone have an example how it works or maybe
an article/tutorial?

Thanks for reading, Christophe

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [axis2] Sharing Data between flows

Posted by Christophe Denis <de...@ibs-aachen.de>.
Problem is solved.
My handler was invoked before the operationContext had been created.

Greetings, Christophe

2007/1/22, Christophe Denis <ch...@gmail.com>:
> Hello together,
>
> I'm trying to share data between IN_FLOW and OUT_FLOW. I would like to
> set a property when the request comes in and do something with it,
> just before the response is sent back. I will store the property in
> the operationContext, but everytime when I try to access it, it is
> null. The place where I do this is in a own handler, which logs some
> data.
>
> Has someone an idea of what is going wrong here? Do I have to
> implement some other workaround to enable access to an
> operationContext? Does someone have an example how it works or maybe
> an article/tutorial?
>
> Thanks for reading, Christophe
>


-- 
IBS Dr. Sommer GmbH
Promenade 7
D-52076 Aachen

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org