Any way to generate WSDL documentation from Javadoc with JAX-WS?

后端 未结 3 1966
-上瘾入骨i
-上瘾入骨i 2020-12-31 02:27

I\'m hoping that an extension of some kind is available that does this (although I suppose that my hope is foolishly optimistic).

   /**
     * 

3条回答
  •  春和景丽
    2020-12-31 03:10

    You may look at Enunciate. It's possible to use it's Maven plugin to generate static HTML files from Javadoc comments. This works for SOAP (i.e. JAX-WS) and REST (i.e. JAX-RS) endpoints.

    Interesting reads:

    • https://github.com/stoicflame/enunciate/wiki/Documentation-Only
    • http://raibledesigns.com/rd/entry/my_experience_with_java_rest

    Production Examples:

    • http://www.realtybaron.com/api/
    • http://www.agentrank.com/api/
    • http://api.setlist.fm/docs/index.html

提交回复
热议问题