Thanks! Usually I load a instance of my system facade into servletContext, to split exclusive WS logic from my own business objects logic.
But I don't know if it's the best code design, because there are not so many axis2 examples around. Wagner On 10/27/05, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: > done , > now any one can get the ServletContext from msgContxt calling > getProperty("servletContext"); > > Thanks, > Deepal > ................................................................ > ~Future is Open~ > > ----- Original Message ----- > From: "Davanum Srinivas" <[EMAIL PROTECTED]> > To: <axis-user@ws.apache.org> > Sent: Thursday, October 27, 2005 9:45 AM > Subject: Re: [Axis2] servletContext & service scope > > > +1 from me. > > On 10/26/05, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: > > Hi dims; > > > > Then we can put the ServletContext in ConfigurationContext as a property , > > so if someone want to get that he can get the from the MC and use it. I > > will > > fix that and so Wagner you do not need to rise a JIRA :) > > > > Thanks, > > Deepal > > ................................................................ > > ~Future is Open~ > > > > ----- Original Message ----- > > From: "Davanum Srinivas" <[EMAIL PROTECTED]> > > To: <axis-user@ws.apache.org> > > Sent: Thursday, October 27, 2005 9:29 AM > > Subject: Re: [Axis2] servletContext & service scope > > > > > > Deepal, > > > > my 2 cents as I've seen many people use it. > > > > - Folks use it to load resources from their webapp > > - Folks use it to load parameters from their Servlet > > - It's there in Axis1. It is needed for supporting a JAX-WS layer > > (when we get around to doing it) > > - etc... > > > > thanks, > > dims > > > > On 10/26/05, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: > > > Hi ; > > > > > > regarding service scope there is a JIRA and we will fix that in next > > > release. > > > > > > Regarding ServletContext , please create a JIRA explaining your > > > requirement > > > , then we can fix that , we still haven't find any requirement of > > > accessing > > > servletConetxt. > > > > > > Thanks, > > > Deepal > > > ................................................................ > > > ~Future is Open~ > > > > > > ----- Original Message ----- > > > From: "Wagner Narde" <[EMAIL PROTECTED]> > > > To: <axis-user@ws.apache.org> > > > Sent: Wednesday, October 26, 2005 6:10 PM > > > Subject: [Axis2] servletContext & service scope > > > > > > > > > Hello, > > > > > > Two questions about Axis2: > > > > > > 1- How can I set service scope like Axis1 (application / request / > > > session...) ? > > > > > > 2- How can I retrieve ServletContext? > > > > > > If documentation covers this topics, please tell me where, because I > > > did not find. > > > > > > Thanks, > > > -- > > > Wagner > > > > > > > > > > > > > > > -- > > Davanum Srinivas : http://wso2.com/blogs/ > > > > > > > > > -- > Davanum Srinivas : http://wso2.com/blogs/ > > >