Hi,

 

I have a web service that uses SimpleSessionHandler to maintain
sessions. I had the following lines in my service description in
server-config.wsdd.

 

  <requestFlow>

   <handler type="soapmonitor"/>

   <handler type="java:org.apache.axis.handlers.SimpleSessionHandler"/>

  </requestFlow>

  <responseFlow>

   <handler type="soapmonitor"/>

   <handler type="java:org.apache.axis.handlers.SimpleSessionHandler"/>

  </responseFlow>

 

 

I also created the client-wsdd like following lines in it.

 

<transport name="http"
pivot="java:org.apache.axis.transport.http.HTTPSender" >

    <requestFlow>

      <handler type="java:org.apache.axis.handlers.SimpleSessionHandler"
/>

    </requestFlow>

 

    <responseFlow>

      <handler type="java:org.apache.axis.handlers.SimpleSessionHandler"
/>

    </responseFlow>

</transport>

 

 

Session handling is working fine. I get the
MessageContext.getCurrentContext and get session from it and storing
session stuff in the session. My problem is how do I set the session
time out? Can some please let me know?. Is it some thing can be
specified in the web.xml? or server-config.wsdd? What is default timeout
it uses (axis servlet's timeout in web.xml)?

 

Thanks

Yuva

 

 

 

 

Reply via email to