从现有的CXF rest服务生成wadl [英] Generate wadl from existing CXF rest service

查看:115
本文介绍了从现有的CXF rest服务生成wadl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有使用CXF实现的有效JAX-RS服务.我如何产生波浪?或者是否有球衣 http://path.to.your/restapp/application.wadl 已经在那里?有没有像wsdl,java到wsdl的Maven插件?我搜索了找不到的答案.

I have working JAX-RS service implemented with CXF. How can I generate wadl? Or is there something like with jersey http://path.to.your/restapp/application.wadl out there already? is there a maven plugin just like for wsdl, java to wsdl? I've searched for answers couldn't find.

推荐答案

如果您使用的是最新版本的CXF,只需使用?_wadl参数访问该服务即可.

If you are using a recent version of CXF, just hit the service with a ?_wadl parameter.

这篇关于从现有的CXF rest服务生成wadl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆