You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Niclas Hedhman <ni...@hedhman.org> on 2010/12/17 04:15:14 UTC
Newbie; Tool to convert legacy system to WSDL?
Gang,
I have quite a few existing systems that we would like to 'formalize'
in WSDL. Not only are there a LOT of request types, but also some of
them are fairly huge, so doing this manually is not feasible.
So, is there any tool that can help to "take existing SOAP envelopes"
and produce WSDL (if possible) for that, possibly interactively to ask
for missing information?
Thanks
--
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java
I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/24svnvk
I relax here; http://tinyurl.com/2cgsug
Re: Newbie; Tool to convert legacy system to WSDL?
Posted by Daniel Kulp <dk...@apache.org>.
On Friday 17 December 2010 12:43:34 am Niclas Hedhman wrote:
> On Fri, Dec 17, 2010 at 1:11 PM, Freeman Fang <fr...@gmail.com>
wrote:
> > Hi Niclas,
> >
> > I guess the java2ws command line tool shipped with cxf kit is what you
> > want, though it's not interactive tool, but you can specify several
> > options to ease your task,
> > Just use
> > ./java2ws -help
> > to get more details about this tool.
>
> No because currently the SOAP format is fixed, and not generated from
> any Java interfaces. So, what I have is a heap of SOAP request and
> response messages...
Well, I would first use and xslt or similar to strip off the soap wrappers.
That shouldn't be too hard. When done, there are some suggestions at:
http://www.dotkam.com/2008/05/28/generate-xsd-from-xml/
to create XSD's from the various messages. That may be a starting point.
Not sure if that really helps or not. :-)
Dan
> Perhaps it is not even possible to represent them in WSDL other than
> as "full document" with Schema, which is also fine...
>
>
> Cheers
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Re: Newbie; Tool to convert legacy system to WSDL?
Posted by Niclas Hedhman <ni...@hedhman.org>.
On Fri, Dec 17, 2010 at 1:11 PM, Freeman Fang <fr...@gmail.com> wrote:
> Hi Niclas,
>
> I guess the java2ws command line tool shipped with cxf kit is what you want,
> though it's not interactive tool, but you can specify several options to
> ease your task,
> Just use
> ./java2ws -help
> to get more details about this tool.
No because currently the SOAP format is fixed, and not generated from
any Java interfaces. So, what I have is a heap of SOAP request and
response messages...
Perhaps it is not even possible to represent them in WSDL other than
as "full document" with Schema, which is also fine...
Cheers
--
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java
I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/24svnvk
I relax here; http://tinyurl.com/2cgsug
Re: Newbie; Tool to convert legacy system to WSDL?
Posted by Freeman Fang <fr...@gmail.com>.
Hi Niclas,
I guess the java2ws command line tool shipped with cxf kit is what you
want, though it's not interactive tool, but you can specify several
options to ease your task,
Just use
./java2ws -help
to get more details about this tool.
Regards
Freeman
On 2010-12-17, at 上午11:15, Niclas Hedhman wrote:
> Gang,
> I have quite a few existing systems that we would like to 'formalize'
> in WSDL. Not only are there a LOT of request types, but also some of
> them are fairly huge, so doing this manually is not feasible.
>
> So, is there any tool that can help to "take existing SOAP envelopes"
> and produce WSDL (if possible) for that, possibly interactively to ask
> for missing information?
>
>
> Thanks
> --
> Niclas Hedhman, Software Developer
> http://www.qi4j.org - New Energy for Java
>
> I live here; http://tinyurl.com/3xugrbk
> I work here; http://tinyurl.com/24svnvk
> I relax here; http://tinyurl.com/2cgsug
--
Freeman Fang
------------------------
FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org