2

我有个问题。我有现有的 Web 服务 (WSDL/SOAP),需要具有相同功能的新 REST Web 服务。有没有一种从 WSDL 创建 WADL 的简单方法?谢谢。

4

2 回答 2

2

虽然它不包含在分发 jar 中,但 tinyWSDL 具有 WSDL 2.0 -> WADL 转换器。显然,服务必须使用 HTTP 绑定来定义。必须首先将 WSDL 1.1 定义转换为 WSDL 2.0(tinyWSDL 也支持)。

http://sourceforge.net/p/tinywsdl/code/HEAD/tree/TinyWSDLConverter/src/org/inb/bsc/wsdl20/converter/

干杯,

D.

于 2014-09-25T15:15:20.747 回答
1

No.

SOAP and REST are pretty different approaches and this tool would be pretty hard to make or configure. Not saying that these styles cannot be mapped 1:1 to each other, there are things you can make with SOAP and not with REST and vice versa.

于 2012-05-10T11:32:59.983 回答