ya , just add that method in to service impl class and that method will
be called using java reflection. So you  can keep a ref to
operatoionConetx in side your class instance. And when you get the
actual method call you can access that.

Michele Mazzucco wrote:

>Hi Deepal,
>
>could you be more explicit please? Do you mean
>
>public void setOperationContext(OperationContext opctx) {
>       // empty content
>}
>
>(and I don't need to call it)?
>
>
>Michele
>
>Deepal Jayasinghe wrote:
>  
>
>>you have to add a method called
>>setOperationContext(OperationContext opctx) {
>>}
>>
>>in to your sevrice impl class , and that method will be called whenever
>>you get a req . Using opctx you can get the messagecontext
>>
>>
>>Michele Mazzucco wrote:
>>
>>    
>>
>>>Hi all,
>>>
>>>how can I get the MessageContext from a OMelement?
>>>(I'm using the primary interface APIs, that is my methods have the
>>>following signature:
>>>
>>>OMelement operation(OMElement arg1, OMElelent arg2,..., OMElement argN) {
>>>     ...
>>>}
>>>
>>>)
>>>
>>>
>>>
>>>Thanks,
>>>Michele
>>>
>>>
>>> 
>>>
>>>      
>>>
>
>
>  
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 


Reply via email to