All the wsdl does is create the skeleton bean with basic setters and getters, no smarts at all. In reality Data Objects only.
> -----Original Message----- > From: Joerg Buchberger [mailto:[EMAIL PROTECTED] > Sent: Friday, 11 July 2003 5:37 PM > To: [EMAIL PROTECTED] > Subject: java2wsdl2java deletes code in beans > > > Hi. > > When I define a web service by creating an interface, which > includes some bean > classes, and then use java2wsdl2java the stubs and > serializable bean classes > get generated. > > For some reason, the axis generated serializable bean > classes' methods are > stripped of original code (validity checks etc.) and any > additional methods, > such as toString get deleted as well. This is a little > inconvenient since that > means copying that code back into the bean classes after > using axis tools. > > Is there any way to avoid this? > > Thanks for any hints. > > Cheers, > Joerg > >