Published on WSO2 Oxygen Tank (http://wso2.org)

servlet, axis2 and session

By stivazzi
Created 2008-06-23 05:50

hello: i have a problem:
i start from a servlet, setting data in session;
then, passing to web service, i want to retrieve this data. i read this article http://wso2.org/library/480 [1] and tried... but my attribute is always null.
in services.xml i have <service name="MyService" scope="transportsession">

i am using eclipse and tomcat 6.0, with axis2.

Could this be because i have MyService.aar under ...webapps\axis2\WEB-INF\services but i deploy the application under webapps\myApplication ?
is it possible to read service under webapps\myApplication? or should i always have the .aar file under axis2 folder?

 

thanks a lot


Source URL:
http://wso2.org/forum/thread/3744