axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joris Van der Mijnsbrugge" <jok...@telenet.be>
Subject Re: java2wsdl - XMLBeans
Date Sun, 22 May 2005 11:52:56 GMT
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" <atmanes@gmail.com>
To: <axis-user@ws.apache.org>
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 <jokari@telenet.be> 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
>
> globus@hobbit:~/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
> globus@hobbit:~/glycemieant$
>
>
>
>
>
>


Mime
View raw message