axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Said Elaissaoui / 1Genia" <selaissa...@1genia.com>
Subject ClassCastException + SOAP Header session
Date Fri, 08 Aug 2003 08:43:35 GMT

Hello,

in order to handle sessions in soap header, i have add this line in axis
server-config.wsdd :

<handler name="SimpleSessionHandler"
type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
<service name="MyService" provider="java:RPC">
  <requestFlow>
   <handler type="session"/>
  </requestFlow>
  <responseFlow>
   <handler type="session"/>
  </responseFlow>
	......
</service>

And i have generate a client-config.wsdd file wich i add to the classpath of
my client :
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
 <handler name="session"
type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
 <service name="MyService" provider="java:RPC">
  <requestFlow>
   <handler type="session"/>
  </requestFlow>
  <responseFlow>
   <handler type="session"/>
  </responseFlow>
 ....
 </service>
 <transport name="java"
pivot="java:org.apache.axis.transport.java.JavaSender"/>
 <transport name="http"
pivot="java:org.apache.axis.transport.http.HTTPSender"/>
 <transport name="local"
pivot="java:org.apache.axis.transport.local.LocalSender"/>
</deployment>

And when i call my service i have a ClassCastException
can any body help me ?





Mime
View raw message