Is it possible to use WSDL with a REST webservice?

China☆狼群 提交于 2019-12-06 06:33:50

问题


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


回答1:


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.

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

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



来源:https://stackoverflow.com/questions/4765957/is-it-possible-to-use-wsdl-with-a-rest-webservice

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!