You have to make a custom serializer/deserializer which sends, along with 
the data, the identity of the concrete class you want to instantiate.

M.


At 05:42 PM 3/20/02 +0100, you wrote:
>Hello,
>
>is it possible to use abstract class or heritage with Soap ?
>I have a abstract class Contrat and 2 subclasses Contrat1 and Contrat2
>(extends Contrat)
>
>i would like to call a method which return Contrat and a methode with a
>Contrat in parameter.
>is it possible ? and how ? the problem is when soap transform xml in java :
>it seems to want instantiate the abstract class !
>
>thanks,
>Véronique.


Reply via email to