首页> 外国专利> COMMON MESSAGE HEADER BEARER METHOD AND DEVICE FOR CONVERTING SIMPLE OBJECT ACCESS PROTOCOL APPLICATION PROGRAMMING INTERFACE (SOAP API) INTO REPRESENTIONAL STATE TRANSFER APPLICATION PROGRAMMING INTERFACE (REST API)

COMMON MESSAGE HEADER BEARER METHOD AND DEVICE FOR CONVERTING SIMPLE OBJECT ACCESS PROTOCOL APPLICATION PROGRAMMING INTERFACE (SOAP API) INTO REPRESENTIONAL STATE TRANSFER APPLICATION PROGRAMMING INTERFACE (REST API)

机译:用于将简单对象访问协议应用程序编程接口(SOAP API)转换为代表状态转移应用程序编程接口(REST API)的通用消息头载体方法和设备

摘要

A common message header bearer method for converting a SOAP API into a REST API includes: determining a REST API common message bearing field, where the common message bearing field is a field in a REST API message header and complies with a following format: one header field name + one header field value + multiple attribute-value pairs (10); and bearing a relevant content of a SOAP message header in the common message bearing field in a format of the attribute-value pairs (11). Embodiments of the present invention further provide an apparatus for converting a SOAP API into a REST API. Embodiments of the present invention prevent problems of existing conversion solutions, such as strong association between a service message and a message header, and the necessity of parsing a whole service message body to complete authorization required by a message header during program processing; and meanwhile, effectively prevent a problem of slow bottom-layer negotiation between a client and a server due to too many header field names.
机译:一种用于将SOAP API转换为REST API的公共消息头承载方法,包括:确定REST API公共消息承载字段,其中,公共消息承载字段是REST API消息头中的字段,并遵循以下格式:一个头字段名称+一个标题字段值+多个属性值对(10);并以属性-值对的格式在公共消息承载字段中承载SOAP消息头的相关内容(11)。本发明的实施例还提供了一种用于将SOAP API转换为REST API的装置。本发明的实施例避免了现有转换方案的问题,例如服务消息与消息头之间的强关联,以及在程序处理过程中解析整个服务消息主体以完成消息头所需的授权的必要性;同时,有效地防止了由于头字段名称过多而导致客户端与服务器之间的底层协商缓慢的问题。

著录项

  • 公开/公告号EP2632110A4

    专利类型

  • 公开/公告日2013-10-30

    原文格式PDF

  • 申请/专利权人 HUAWEI TECHNOLOGIES CO. LTD.;

    申请/专利号EP20110789197

  • 发明设计人 LV JUNTAO;

    申请日2011-05-31

  • 分类号H04L29/06;H04L29/08;

  • 国家 EP

  • 入库时间 2022-08-21 16:28:59

相似文献

  • 专利
  • 外文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号