I am sorry, those methods does not work anymore. Please refer to the following article.
https://wso2.org/library/articles/axis2-session-management http://blogs.deepal.org/2009/06/axis2-tutorials-and-articles.html Thanks, Deepal On Tue, Aug 4, 2009 at 4:49 PM, Cyril Furtado<[email protected]> wrote: > I have in my implementation class added two methods as given in Axis2 > articles > > public void init(MessageContext inMessge, MessageContext outMessage) { > > // store the message contexts > > System.out.println("init message called"); > // is not seen in output & inMesssage is null > > this.inMessge = inMessge; > > } > > > > public void setOperationContext(OperationContext opContext){ > > System.out.println("setOperationContext > message called ****"); // not seen in output > > } > > > > In my method > > String getRecord(int id){ > > > > System.out.println("message context ****:"+ > MessageContext.getCurrentMessageContext()); > > > > } > > > > getRecord when called from webservices > > the only sys out I see is message context ****:null > > I do not see any of the other sys outs > > Is there any other way to get the messageContext or am I doing something > wrong? > > Cyril > > > > > > -- http://blogs.deepal.org
