David, Have you seen the links at this page?
http://www.brainopolis.com/castorwiki/Wiki.jsp?page=SOAP --Erik O. > -----Original Message----- > From: David Kocher [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2003 4:44 AM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] marshaller calls constructor > > > Thanks. I have the general problem that I'm trying to > bring the world of > apache axis (soap) genereated objects for together with > castor. I would like > to use the same objects for both mapping to soap rpc > and usual xml instance > documents. > What I mean is that I want to be able to both serialize > the objects in to soap > messages and xml confirming to the schema. > > Any hints? > -David > > On Wednesday 30 July 2003 20:17, Keith Visco wrote: > > Because Castor assumes that if you are marshalling an > object, you are > > probably going to also want to unmarshal. > > > > You can get around this by disabling the constructor > check for a > > specific class...but then you may not be able to unmarshal. > > > > <class name="foo" verify-constructable="false"> > > > > --Keith > > > > David Kocher wrote: > > > Hi castor users, > > > I would like to write some objects to an > xml which do not have a > > > constructor with no arguments. > > > > > > >From castor I get the following exception: > > > > > > org.exolab.castor.mapping.MappingException: > The Java class > > > ch.itserve.MyClass is not constructable -- it does > not contain a default > > > public constructor > > > > > > Why does castor attempt to make new instances of > the class? I assumed all > > > it needs to to is fetching the values with the > getter methods. > > > > > > Thanks for clarification! > > > - David > > > > > > ----------------------------------------------------------- > > > If you wish to unsubscribe from this mailing, send mail to > > > [EMAIL PROTECTED] with a subject of: > > > unsubscribe castor-dev > > > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send mail to > > [EMAIL PROTECTED] with a subject of: > > unsubscribe castor-dev > > ----------------------------------------------------------- > If you wish to unsubscribe from this mailing, send mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > > > DISCLAIMER: > This email message is for the sole use of the intended > recipient(s) and may contain confidential and > privileged information. Any unauthorized review, use, > disclosure or distribution is prohibited. If you are > not the intended recipient, please contact the sender > by reply email and destroy all copies of the original > message and attachments. > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
