it was
just a mistake in my email
-----Message d'origine-----
De : Jeyakumaran.C [mailto:[EMAIL PROTECTED]
Envoy� : vendredi 8 ao�t 2003 11:31
� : [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet : Re: ClassCastException + SOAP Header sessionhi,if i am correct then i think yr handler name(SimpleSessionHandler) and type(session) are not compatible.the type should be SimpleSession if the handler is SimpleSessionHandlerI haven't used this before but according to theorg.apache.axis.handlers.SimpleSessionHandler
it sounds like.
if it fails then u put the SimpleSessionHandler instead of SimpleSession.
regards,
Jeyakumaran.C
----- Original Message -----From: "Said Elaissaoui / 1Genia" <[EMAIL PROTECTED]>To: <[EMAIL PROTECTED]>Sent: Friday, August 08, 2003 2:43 PMSubject: ClassCastException + SOAP Header session>
> 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 ?
>
>
>
>
