Thanks for a link, this is quite interesting, having WADL XML converted
into Swagger JSON, no problems there except that I'm not sure if it can
cope with converting the XMLSchema grammars into JSON schemas, probably
unlikely ?
I linked to it from JIRA, but noted CXF can also optionally offer its
own WADL JSON representation - which keeps the same structure as WADL
XML, except that it expects equivalent JSON schemas be available as
server resources...
Either way, looks like if this frontend would work with WADL then we can
get that WADL processed as needed for JS client to operate
Sergey
On 10/09/15 13:11, Vjacheslav V. Borisov wrote:
2015-09-10 15:50 GMT+04:00 Sergey Beryozkin <[email protected]>:
Thanks, I wish we did it earlier :-). I believe RestEasy did it awhile
back (though not sure what exactly it offers), though the idea of having of
a JS frontend in CXF is not new given that it is available for WS.
We are using for a while https://github.com/rbelouin/wadl-client
altough it interface is differs from what jax-rs does, istead of plain
jax-rs resource with many functions it offers hierarchical interface
It also uses custom json wadl format, but recently there is converter from
wadl avaliable https://github.com/rbelouin/wadl2json
<https://github.com/rbelouin/wadl2json>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/