在soap中,有用于通信的WSDL,但在其他方面有什么? [英] In soap there is WSDL for communication but in rest what is there ?

查看:36
本文介绍了在soap中,有用于通信的WSDL,但在其他方面有什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 SOAP 中有用于通信的 WSDL.我在博客中读到 WSDL 2.0 支持 REST 但它没有正确定义 REST 那么是否有任何等效的 REST ?我在客户端和服务器之间使用 JSON 数据进行通信,所以我需要一些适合通信的东西,所以有什么适合的吗?

In SOAP there is WSDL for communication. I read in blogs that WSDL 2.0 supports REST but it is not properly define the REST so is there any equivalent for REST ? I'm doing communication using JSON data between client and server so i need something that properly fit for communication so is there is something for this ?

推荐答案

业界有不同的提议,例如 WADL(参见 http://en.wikipedia.org/wiki/Web_Application_Description_Language),但遗憾的是目前还没有普遍接受的 REST 元数据标准.

There are different proposals in the industry, such as WADL (see http://en.wikipedia.org/wiki/Web_Application_Description_Language ), but unfortunately there is no commonly accepted REST metadata standard yet.

这篇关于在soap中,有用于通信的WSDL,但在其他方面有什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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