axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kang, Kamaljeet K." <Kamal.K.K...@tellabs.com>
Subject RE: setOperationContext
Date Fri, 23 Feb 2007 22:30:27 GMT
Thanks. It works. 
Another question, how do set the response soap header?

kamal

-----Original Message-----
From: Deepal Jayasinghe [mailto:deepal@opensource.lk] 
Sent: Friday, February 23, 2007 10:13 AM
To: axis-user@ws.apache.org
Subject: Re: setOperationContext

Hi  Michele;
Yes we are store that in  ThreadLocal.

Thanks
Deepal

>Those info should be stored into a ThreadLocal (tomcat uses a new
thread
>for each received request).
>
>Michele
>
>On Fri, 2007-02-23 at 09:46 -0500, Punnoose, Roshan wrote:
>  
>
>>If this is a static method, how can multiple requests to one service
>>work? Just wondering, how I could access the MessageId for different
>>requests to the same service. Thanks!
>>
>>Roshan Punnoose
>>Phone: 301-497-6039
>>-----Original Message-----
>>From: Davanum Srinivas [mailto:davanum@gmail.com] 
>>Sent: Thursday, February 22, 2007 11:06 PM
>>To: axis-user@ws.apache.org
>>Subject: Re: setOperationContext
>>
>>That's outdated!. please use MessageContext.getCurrentContext() from
>>inside your service method (when Axis2 calls your service method.)
>>
>>thanks,
>>dims
>>
>>On 2/22/07, Kang, Kamaljeet K. <Kamal.K.Kang@tellabs.com> wrote:
>>    
>>
>>>Hi,
>>>
>>>I would like to access service context on the skeleton side. I
>>>      
>>>
>>followed
>>    
>>
>>>the documentation ("http://wso2.org/library/259") and added
>>>'setOperationContext(OperationContext opCtxt)' in the skeleton class
>>>      
>>>
>>but
>>    
>>
>>>the method is never called. Is this the correct way to access Context
>>>      
>>>
>>on
>>    
>>
>>>the server side?
>>>
>>>
>>>Thanks
>>>
>>>Kamal Kang
>>>
>>>============================================================
>>>The information contained in this message may be privileged
>>>and confidential and protected from disclosure. If the reader
>>>of this message is not the intended recipient, or an employee
>>>or agent responsible for delivering this message to the
>>>intended recipient, you are hereby notified that any reproduction,
>>>dissemination or distribution of this communication is strictly
>>>prohibited. If you have received this communication in error,
>>>please notify us immediately by replying to the message and
>>>deleting it from your computer. Thank you. Tellabs
>>>============================================================
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-user-help@ws.apache.org
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>  
>

-- 
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
============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================

---------------------------------------------------------------------
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