it wa just a mistake in my email i have :
 <handler name="session"
type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
in my wsdd files

-----Message d'origine-----
De : Jim Harris [mailto:[EMAIL PROTECTED]
Envoy� : vendredi 8 ao�t 2003 11:11
� : [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet : RE: ClassCastException + SOAP Header session


Said,

One thing I can see is that you are referencing the SimpleSessionHandler by
the wrong name in the request and response flows of your service:

> <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>

You give the handler the name 'SimpleSessionHandler' which is fine, but you
then try to reference this using <handler type="session"/> which should
infact be <handler type="SimpleSessionHandler"/>.

HTH
Jim




Reply via email to