You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Josh <ge...@gmail.com> on 2007/07/10 19:58:34 UTC
standalone tool to generate xml schema from java?
All,
I am starting to develope contract first web services. There are many cases
where there are objects in my system that closely match those that will be
exchanged on the wire. Using a tool that would allow me to generate an xml
schema from a given java object would give me a lift in writing these schema
files. Is there a way to do this other than using the java2wsdl tool? For
my purposes, I really just need a java to schema tool. Any ideas?
Thanks,
Josh
[axis2] Re: standalone tool to generate xml schema from java?
Posted by Nicholas L Gallardo <nl...@us.ibm.com>.
Hi Josh,
The JAXB RI has a tool for exactly what you're looking for. I believe they
call it "schemagen" or something to that effect...
Good luck,
-Nick
Josh
<gemini929@gmail.
com> To
axis-dev <ax...@ws.apache.org>
07/10/2007 12:58 cc
PM
Subject
standalone tool to generate xml
Please respond to schema from java?
axis-dev@ws.apach
e.org
All,
I am starting to develope contract first web services. There are many
cases where there are objects in my system that closely match those that
will be exchanged on the wire. Using a tool that would allow me to
generate an xml schema from a given java object would give me a lift in
writing these schema files. Is there a way to do this other than using the
java2wsdl tool? For my purposes, I really just need a java to schema tool.
Any ideas?
Thanks,
Josh
Re: standalone tool to generate xml schema from java?
Posted by WJ Krpelan <kr...@yahoo.com>.
Hi,
why not simply use java2wsdl and extract the schema
from the generated wsdl?
Should be a simple exercise -
Cheers,
--- Josh <ge...@gmail.com> wrote:
> All,
>
> I am starting to develope contract first web
> services. There are many cases
> where there are objects in my system that closely
> match those that will be
> exchanged on the wire. Using a tool that would
> allow me to generate an xml
> schema from a given java object would give me a lift
> in writing these schema
> files. Is there a way to do this other than using
> the java2wsdl tool? For
> my purposes, I really just need a java to schema
> tool. Any ideas?
>
> Thanks,
>
> Josh
>
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org