You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andrew Sergeev <as...@jnetx.com> on 2003/07/09 17:17:06 UTC
stupid problem with setMaintainSession(true) Axis 1.1 release + Tomcat 4.1
Hello All!
stupid problem?
have next code:
GmsLocator locator = new GmsLocator();
try {
IpMessage msg = locator.getIpMessage();
((IpMessageBindingStub )msg).setMaintainSession(true);
try {
msg.start();
// on server side call
// MessageContext mc = MessageContext.getCurrentContext();
// mc.getMaintainSession() return - false
// Value of mc.getSession() for example - Session:
org.apache.axis.transport.http.AxisHttpSession@3aef16
msg.next();
// on server side call
// MessageContext mc = MessageContext.getCurrentContext();
// mc.getMaintainSession() return - false
// Value of mc.getSession() for example - Session:
org.apache.axis.transport.http.AxisHttpSession@1eb0c6
I think that setMaintainSession not work,
from DD
<service name="IpMessage" provider="java:RPC">
<parameter name="wsdlTargetNamespace" value="http://www.apo.com/ms/wsdl"/>
<parameter name="wsdlServiceElement" value="gms"/>
<parameter name="wsdlServicePort" value="IpMessage"/>
<parameter name="className"
value="com.api.post.IpMessageBindingSkeleton"/>
<parameter name="wsdlPortType" value="IpMessage"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="Session"/>
Thank You for Any help.
Andrew Sergeev