Hi Iksrazal, Chathura is right. You can use the operationContext to share things along one operation. BTW i'm surprised to hear that message labels do not work properly!
On 2/7/06, Chathura Herath <[EMAIL PROTECTED]> wrote: > Well you should be able to determine whether you are in inflow or > outflow by using getFLOW method in the message context. The relavent > constants are there in the MessageContext. > If you want to pass variable between two flows of the same operation, > use the OperationContext for that. > > HTH > Chathura > > On 2/6/06, iksrazal <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I need to get the soap message, and handle the request and response > > differently. I also need to pass a variable between the request and response > > - via messageContext.setProperty() etc. > > > > I tried to determine if I'm in a request / response by : > > > > 1) messageContext.isResponseWritten() - so far not implemented though. > > > > 2) Message_lables. No luck there either. > > > > 3) Implementing a separate handler for the in / out phase - although I'm > > using > > the same module. Unfortunately, this way I can't seem to use set / get > > property between the handlers. > > > > I'm now trying to do: > > > > 4) Use the same handler, but somehow determine the in / out phase. > > > > My question is: Is there a way to determine which phase you are in from > > inside > > a Handler ? Or, is there a common property I can use between handlers that > > belong to the same module? I need to simply pass an incrementing Long. > > > > Thanks, > > iksrazal > > http://www.braziloutsource.com/ > > > > > -- > Chathura Herath > http://chathurah.blogspot.com/ > -- Ajith Ranabahu
