Is it possible to convert existing java files into XSD. If so please let me know how
2. Binding existing Java classes to generated XML schema
This addresses application scenarios where design begins with Java classes rather than an XML schema. One such example is an application that exports itself as a web service that communicates using SOAP and XML as a transport mechanism. The marshalling of Java object graph is according to program annotations, either explicit or defaulted, on the existing Java classes.
Object graph traversal
Portable mechanisms to traverse a graph of JavaBean objects will not be addressed in JAXB 2.0.
Mapping any existing Java classes to any existing XML schema
The JAXB annotation mechanism is not sophisticated enough to enable mapping an arbitrary class to all XML schema concepts.
However some issues will require support from the developer in the source code; e.g. preservation of referential integrity of an object graph across XML serialization followed by a XML de-serialization through use of @XmlID and @XmlIDREF (8.2.7 Referential Integrity).
I expect that "XML Schema to Java" will remain the least problematic.
[ February 20, 2006: Message edited by: Peer Reynders ]