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: Why my service class get initilized every service call?
Date Mon, 11 Jun 2007 17:39:33 GMT

>>> Hi,
>>>
>>>  
>>>
>>> I set my service scope to soapsession, but my service class gets
>>> initialized by every service call. That’s not right. Consecutive
>>> service calls should share the same ServiceContext. Am I right?
>>> SessionContext is not created by Axis2. I also engaged addressing
>>> module by following snippet inside the init function of my service class:
>>>
>>>  
>>>
>>>  
>>>
>>>          AxisService axisService = serviceContext.getAxisService();
>>>
>>>          AxisModule am = *new* AxisModule("addressing");
>>>       
This line is wrong, what you can do is to get the AxisModule from
AxisConfiguration.


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