热门推荐

2021年9月计算机二级成绩什么时候公布

2021年9月计算机二级成绩什么时候出 怎么查

注册网约车需要什么条件

注册网约车需要什么条件

自己怎么报考人力资源管理师

命题说话编不下去了怎么办

直播口才训练方法

Python就业方向有哪些 发展前景怎么样

学python有什么好处 学完可以做什么

webservice底层是SOAP协议,核心是面向活动,有严格的规范和标准,包括安全,事务等方面。restful是一种架构风格,其核心是面向资源,遵循CRUD原则,这个原则对于资源只需要4种行为,分别是:创建,获取,更新和删除,并且这些资源执行的操作时通过HTTP协议规定的。
使用webservice还是restful就需要考虑资源本身的 ,看资源本身是那种简单的类似增删改查的业务操作,还是那种比较复杂,如转账,事务处理等。
其次是看是否有严格的规范和标准的,而且有多个业务系统集成和开发的时候,使用SOAP协议就比较优势,如果是简单的数据操作,无事务处理,开发和调用比较简单的话使用REST架构风格比较有优势,较为复杂的面向活动的服务,使用restful意义不大。
免费试听
在线咨询
课程优惠