You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/04/18 14:29:48 UTC

DO NOT REPLY [Bug 19148] New: - SimpleSessionHandler adds headers even if setMaintainSession is called

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19148>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19148

SimpleSessionHandler adds headers even if setMaintainSession is called

           Summary: SimpleSessionHandler adds headers even if
                    setMaintainSession is called
           Product: Axis
           Version: 1.1rc2
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: kevinj@develop.com


I have a WSDD that looks like this

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

<service name="Sessions" provider="java:RPC" style="wrapped">
    <namespace>urn:kevinj:Sessions</namespace>
    <requestFlow>
        <handler type="session"/>
    </requestFlow>
    <responseFlow>
        <handler type="session"/>
    </responseFlow>
    <parameter name="className" value="kevinj.UseSessions"/>
    <parameter name="allowedMethods" value="*"/>
</service>


In my server I do nothing with sessions (I don't call any methods related to
sessions at all) but I still get 

<soapenv:Header>
  <ns1:sessionID soapenv:actor="" soapenv:mustUnderstand="0" xsi:type="xsd:long"
xmlns:ns1="http://xml.apache.org/axis/session">-1649269796270571471</ns1:sessionID>
 </soapenv:Header>

In the resoponse from the server.