Could you specify how exactly i can add default constructor to an xmlbean? There is an interface and an implementation file, i tried to add a default constructor but it failed to compile.
thanks joris ----- Original Message ----- From: "Anne Thomas Manes" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, May 21, 2005 5:29 PM Subject: Re: java2wsdl - XMLBeans Add a default constructor to your classes. On 5/21/05, Joris Van der Mijnsbrugge <[EMAIL PROTECTED]> wrote: > Hi all, > > when trying to generate a wsdl file. My xmlbeans don't get the right type. > Should i replace the schemas manually or is their a way to get it automatically. The xmlbeans are compiled from these schemas. > > I included the outcome of generate-wsdl > > Any help is welcome, > > Joris > > [EMAIL PROTECTED]:~/glycemieant$ ant generate-wsdl > Buildfile: build.xml > Overriding previous definition of reference to axis.classpath > > generate-wsdl: > [axis-java2wsdl] Java2WSDL be.vdm.joris.glycemie.WSGlycemie > [axis-java2wsdl] - The class be.ugent.atlantis.erato3.commandsSchema.CommandDescriptionsDocument does not contain a default constructor, which is a requirement for a bean class. The class cannot be converted into an xml schema type. An xml schema anyType will be used to define this class in the wsdl file. > [axis-java2wsdl] - The class be.ugent.atlantis.erato3.genericMsgSchema.GenericMsgDocument does not contain a default constructor, which is a requirement for a bean class. The class cannot be converted into an xml schema type. An xml schema anyType will be used to define this class in the wsdl file. > [axis-java2wsdl] - The class be.ugent.atlantis.erato3.triggers.TriggersDocument does not contain a default constructor, which is a requirement for a bean class. The class cannot be converted into an xml schema type. An xml schema anyType will be used to define this class in the wsdl file. > > BUILD SUCCESSFUL > Total time: 2 seconds > [EMAIL PROTECTED]:~/glycemieant$ > > > > > >
