axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <dee...@opensource.lk>
Subject Re: setOperationContext does not get a chance to run
Date Sun, 10 Jun 2007 04:37:22 GMT
Hi  Wang,
setOperationContext  method had threading issue so we removed that and
introduced new way of accessing the context inside the service impl
class. You can get the current message context and from that you can get
any context you want.

public int add(int a , int b){
   MessageContext msgCtx = MessageContext.getCurrentMessageContext();
    .....
}
>
> Hi,
>
>  
>
> My setOperationContext function does not get a chance to run. Is there
> anyone ever has same problem? Thanks.
>
>  
>
> **Hailong Wang**
>
> National Database for Autism Research(NDAR)
>
> NIH/CIT/DECA (MOM CONTRACTOR)
>
> 9000 Rockville Pike, Bld 12A/Room 2027
>
> Bethesda, MD 20892
>
> Phone:  301-402-3045
>
> Fax:       301-480-0028
>
> Email:   wangh3@mail.nih.gov <mailto:wangh3@mail.nih.gov>
>
> URL:   http://ndar.nih.gov
>
>  
>

-- 
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"



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


Mime
View raw message