----- Original Message -----
From: "Doug Haigh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 10, 2003 19:05
Subject: Nested Classes for Java Beans not Allowed?


> I have a class that does all soap that includes a nested JavaBean used for
> serialization/deserialization. It looks like
>
> =======================================
>
> public class SoapMgr
> {
>
>   public class InfoBean() implements Serializable
>   {
>     public InfoBean()
>     {
>     }
>     ...
>   }
> }
>
> ==========================
>
> but the call fails because it says the InfoBean does not have a public
> constructor (which it does). Does Axis not support nested classes to be
used
> as deserializers?

Make it a static nested class, not a non-static one -that needs a soap
manager instance in a different kind of constructor.

Reply via email to