axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Barlow <>
Subject Re: Can't find default constructor exception on the client side
Date Fri, 15 Aug 2003 07:47:30 GMT
I think that AXIS requires a default constructor if you are using
bean based serialization.
Maybe possible with custom serialization? someone else know? wrote:
> Hi,
>     I have an abstract class, Users, that is extended by several classes
> such as Administrator, Tester etc. My service method, LogIn, will return a
> User object upon successful login. I verify that a Users object is send
> back to the client. However, the client will throw an exception which
> indicate that a Java Bean can not be created because there is no default
> constructot for Users class.
>     This design is to hide the detail from the client program so that there
> is no testing logic for identifying the type of the user who logs in. Any
> suggestion to resolve this issue is highly appreciated.
> Harry Wen

View raw message