Resending with [axis2] prefix in subject.
Hopefully I am not the only one that has tried "transportsession" scope?
thx much for any help you can provide
Begin forwarded message:
From: Jian Zhen <[EMAIL PROTECTED]>
Date: June 10, 2006 5:54:16 PM PDT
To: [email protected]
Subject: transportsession examples
Hi,
Does anyone have any source code examples on how to use the
"transportsession" scope?
I tried to make a couple of my services use "transportsession"
scope and got the following exception:
java.lang.NullPointerException
org.apache.axis2.context.ConfigurationContext.fillServiceContextAndSer
viceGroupContext(ConfigurationContext.java:150)
org.apache.axis2.engine.InstanceDispatcher.invoke
(InstanceDispatcher.java:99)
org.apache.axis2.engine.Phase.invoke(Phase.java:381)
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine
(RESTUtil.java:150)
org.apache.axis2.transport.http.util.RESTUtil.processGetRequest
(RESTUtil.java:138)
org.apache.axis2.transport.http.AxisRESTServlet.doGet
(AxisRESTServlet.java:36)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
It worked fine if the services are standard "request" scope. Once I
add
scope="transportsession"
to the services.xml, the services are throwing this exception.
Anyone have had luck with using "transportsession" scope?
thx for your help
Jian
--
Jian Zhen <[EMAIL PROTECTED]>
http://www.zhen.org
--
Jian Zhen <[EMAIL PROTECTED]>
http://www.zhen.org
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]