开发者

generating java stubs from WADL

Is there any tool tha开发者_开发百科t can generate java stubs from a WADL file.

or is there any plugin for eclipse/netbeans that can generate stubs from a WADL file.

thanks

vicky


wadl2java tool - http://wadl.java.net/wadl2java.html It has command line tool and ant target to generate stubs from wadl. Didn't use it myself yet but am probably going to for my next project.


Try this project: http://cxf.apache.org/docs/jaxrs-services-description.html

The project is probably still in early stage. Notice following errors:

  • Basic Example at its home page contains two errors
    • "tns:thechapter" is not defined.
    • Need to define type for "id" param for /bookstore/{id}
  • If you use its Maven plugin, use 2.4.2 instead of 2.4.1.

I am able to generate Jersey controller skeleton after fixing these errors.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜