可以将WSDL与REST Web服务一起使用吗? [英] Is it possible to use WSDL with a REST webservice?

查看:150
本文介绍了可以将WSDL与REST Web服务一起使用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是网络服务领域的新手.是否可以将WSDL与REST绑定一起使用?还是我应该使用WADL?

I am new to the area of web-services. Is it possible to use WSDL with REST bindings? Or should I use WADL?

推荐答案

可以将WSDL与REST绑定一起使用,但这实际上不是必需的. REST的简单性使编写代码很容易使用该服务.使用WSDL只会增加不必要的复杂性.

It's possible to use a WSDL with REST bindings, but it's really not necessary. The simplistic nature of REST make writing code to use that service very easy. Using a WSDL just adds extra complexity that is just not necessary.

如果您仍然感兴趣,可以在这里找到更多信息: http://www.ibm.com/developerworks/webservices/library/ws -restwsdl/

If you're still interested, you can find more information here: http://www.ibm.com/developerworks/webservices/library/ws-restwsdl/

此外,此问题可能对您有帮助: WSDL与REST的利弊

Also, this question may help you: WSDL vs REST Pros and Cons

这篇关于可以将WSDL与REST Web服务一起使用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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