jQuery in Action, 3rd edition
The moose likes XML and Related Technologies and the fly likes .java to .xsd Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark ".java to .xsd" Watch ".java to .xsd" New topic

.java to .xsd

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

Are there any commercial, opensource tools out there that can convert my java class (that use inheritance) to XSD file ?
Since I want to use such generated xsd in wsdl file and make no mistake by handcrafting xsd files based on my java files.

RR Kumaran
SCJP 1.4
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
Moving this to xml forum.
Please continue your discussion there.
Karthik Mohan

Joined: Sep 29, 2004
Posts: 23
I am not sure about XMLBeans, but the "autotype" ant task of weblogic can generate the necessary type mapping information to be included in your WSDL file.

If you do not have weblogic installed and want a quick solution, PM me and i can generate it and mail it back to u.
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
PM to ur emaild id. please check.
I agree. Here's the link: http://aspose.com/file-tools
subject: .java to .xsd
It's not a secret anymore!