axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kr <>
Subject Re: Any tools for converting java class to xml schema ?
Date Wed, 14 Sep 2005 12:47:57 GMT
Hi Steve,

Thank you for the response. I agree with you but looking for tools in
environments where people are not aware of soap toolkits like AXIS or
when we dont have any tools like JAVA2WSDL etc. Is it possible atleast
with latest version of JAXB ?

Thanks & Regards,

On 9/14/05, Steve Loughran <> wrote:
> Kr wrote:
> > Hi,
> >
> > Are there any tools out there that can convert my java class to xml schema.
> > How such tools take care of java collections like HashTable, ArrayList
> > etc. in my class structure.  I am not interested in writing any
> > configuration files(like jaxb configuration files,  jibx binding xml
> > files etc.) for serving this purpose and the can be able to give me
> > xml  schema from the java classes. Please suggest ...
> >
> > I am not sure even JAXB 2.0 allows me to do this without writing any
> > jaxb configuration files or annotations in my java class which is not
> > there in JDK 1.4.2
> >
> The problem with this approach is that while there are things that take
> your code and generate XSD/WSDL from it, you end up with unstable WSDL that
>  -changes whenever you change a bit of your implementation
>  -changes whenever you upgrade your soap stack
>  -is invariably really hard to work with at the far end
>  -is inherently uportable
> I would recommend embracing XSD, even though it is a painful language to
> use, because at some point in your project you will be staring at
> XSD/WSDL Files trying to manually change them so that everything works.
> You only have a choice when that staring begins -early on in the project
> or the week the system goes live, and how well you know XSD by the time
> that integration begins...

View raw message