Re: Accessing the in flow message context in out flow handler

2008-12-11 Thread Dave Meibusch
Thank you, Deepal.
This got me on the right track.

> 
> actually I forgot, seems like I have even written an article about that
> 
> http://wso2.org/library/2084
> 




Re: Accessing the in flow message context in out flow handler

2008-12-10 Thread Deepal Jayasinghe
actually I forgot, seems like I have even written an article about that

http://wso2.org/library/2084

Deepal
> check out the testcase org.apache.axis2.context.OperationContextTest
>
> AxisOperation axisOperation = new InOutAxisOperation(new
> QName("test"));
> OperationContext operationContext1 = axisOperation
> .findOperationContext(messageContext1, sessionContext);
>
> HTH
> Martin
> __
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and
> Sender does not endorse distribution to any party other than intended
> recipient. Sender does not necessarily endorse content contained
> within this transmission.
>
>
>
>
> > Date: Wed, 10 Dec 2008 18:59:24 -0500
> > From: [EMAIL PROTECTED]
> > To: axis-user@ws.apache.org
> > Subject: Re: Accessing the in flow message context in out flow handler
> >
> >
> > > Hi,
> > > I have a custom handler to log statistics for SOAP messages.
> > >
> > > The challenge I have is accessing some of the properties of the in
> > > flow message context in my handler's flowComplete() that is being
> executed
> > > last in OutFaultFlow.
> > >
> > > ie. I need to access and log properties of the in message context
> for the
> > > out fault message context the handler is given in Out Fault Flow.
> > >
> > > Any ideas?
> > >
> > You can get the incoming message context from the operation context.
> >
> > Thank you!
> > Deepal
> > > thanks
> > > Dave
> > >
> > >
> > >
> >
> > --
> > Thank you!
> >
> >
> > http://blogs.deepal.org
> >
>
> 
> Send e-mail faster without improving your typing skills. Get your
> HotmailĀ® account.
> <http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008>

-- 
Thank you!


http://blogs.deepal.org



RE: Accessing the in flow message context in out flow handler

2008-12-10 Thread Martin Gainty

check out the testcase org.apache.axis2.context.OperationContextTest

AxisOperation axisOperation = new InOutAxisOperation(new QName("test"));
OperationContext operationContext1 = axisOperation
.findOperationContext(messageContext1, sessionContext);

HTH
Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 




> Date: Wed, 10 Dec 2008 18:59:24 -0500
> From: [EMAIL PROTECTED]
> To: axis-user@ws.apache.org
> Subject: Re: Accessing the in flow message context in out flow handler
> 
> 
> > Hi,
> > I have a custom handler to log statistics for SOAP messages.
> >
> > The challenge I have is accessing some of the properties of the in
> > flow message context in my handler's flowComplete() that is being executed 
> > last in OutFaultFlow.
> >
> > ie. I need to access and log properties of the in message context for the 
> > out fault message context the handler is given in Out Fault Flow.
> >
> > Any ideas?
> >   
> You can get the incoming message context from the operation context.
> 
> Thank you!
> Deepal
> > thanks
> > Dave
> >
> >
> >   
> 
> -- 
> Thank you!
> 
> 
> http://blogs.deepal.org
> 

_
Send e-mail faster without improving your typing skills.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008

Re: Accessing the in flow message context in out flow handler

2008-12-10 Thread Deepal Jayasinghe

> Hi,
> I have a custom handler to log statistics for SOAP messages.
>
> The challenge I have is accessing some of the properties of the in
> flow message context in my handler's flowComplete() that is being executed 
> last in OutFaultFlow.
>
> ie. I need to access and log properties of the in message context for the 
> out fault message context the handler is given in Out Fault Flow.
>
> Any ideas?
>   
You can get the incoming message context from the operation context.

Thank you!
Deepal
> thanks
> Dave
>
>
>   

-- 
Thank you!


http://blogs.deepal.org



Accessing the in flow message context in out flow handler

2008-12-10 Thread Dave Meibusch
Hi,
I have a custom handler to log statistics for SOAP messages.

The challenge I have is accessing some of the properties of the in
flow message context in my handler's flowComplete() that is being executed 
last in OutFaultFlow.

ie. I need to access and log properties of the in message context for the 
out fault message context the handler is given in Out Fault Flow.

Any ideas?

thanks
Dave