CN109218426A - 一种支持webservice协议调用的API网关服务方法 - Google Patents

一种支持webservice协议调用的API网关服务方法 Download PDF

Info

Publication number
CN109218426A
CN109218426A CN201811093376.6A CN201811093376A CN109218426A CN 109218426 A CN109218426 A CN 109218426A CN 201811093376 A CN201811093376 A CN 201811093376A CN 109218426 A CN109218426 A CN 109218426A
Authority
CN
China
Prior art keywords
webservice
agreement
api
api gateway
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811093376.6A
Other languages
English (en)
Inventor
曾铭新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Linewell Software Co Ltd
Linewell Software Co Ltd
Original Assignee
Fujian Linewell Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Linewell Software Co Ltd filed Critical Fujian Linewell Software Co Ltd
Priority to CN201811093376.6A priority Critical patent/CN109218426A/zh
Publication of CN109218426A publication Critical patent/CN109218426A/zh
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明涉及一种支持webservice协议调用的API网关服务方法,在API网关中,将第三方webservice协议接口通过restful协议对外进行开放;在API网关中,将restful协议请求组合成XML格式进行webservice接口调用;同时在API网关平台中,根据第三方wsdl文件检索方法名、参数信息。本发明能够解决目前API网关服务平台只支持restful协议,不支持webservice协议带来的接入问题,提供了webservice协议的接入支持。

Description

一种支持webservice协议调用的API网关服务方法
技术领域
本发明涉及API网关服务领域,特别是一种支持webservice协议调用的API网关服务方法。
背景技术
目前,公知的API网关服务是将第三方API进行对外开放,第三方业务系统将自身对外提供的API服务注册到网关服务平台中,并且通过网关服务进行对外开放,API网关服务平台在其中行使API的治理、鉴权、流控、熔断、日志记录等功能。
目前公知的API网关服务支持第三方API使用restful协议进行接入,对于第三方使用webservice协议进行接入的,并不支持。
发明内容
有鉴于此,本发明的目的是提出一种支持webservice协议调用的API网关服务方法,提供了webservice 协议的接入支持。
本发明采用以下方案实现:一种支持webservice协议调用的API网关服务方法,具体包括以下步骤:
步骤S1:用户登录API网关服务平台,进行API服务注册并填写该API服务对应webservice wsdl地址;
步骤S2:系统通过webservice wsdl地址信息,自动检索对应的方法名以及方法的参数信息,并映射到网关服务平台上,供用户选择;
步骤S3:用户填写完发布的API信息之后,该API在网关服务平台上通过restful协议对外开放,网关服务平台再通过webservice协议对接到第三方应用。
进一步地,还包括步骤S4:当网关服务平台接收到外部调用该API接口信息时,自动将该API接口信息对应的restful协议请求的参数信息组合成XML格式进行webservice接口调用,使用httpclient访问wsdl中的地址,并将结果信息返回外部调用。
本发明在API网关中,将第三方webservice协议接口通过restful协议对外进行开放;本发明在API网关中,将restful协议请求组合成XML格式进行webservice接口调用;同时本发明在API网关平台中,根据第三方wsdl文件检索方法名、参数信息。本发明能够解决目前API网关服务平台只支持restful协议,不支持webservice协议带来的接入问题,提供了webservice 协议的接入支持,在网页上直接配置webservice接入的wsdl地址,并支持普通类型、复杂类型参数的传入。
与现有技术相比,本发明有以下有益效果:
1、本发明支持将webservice协议的接口通过restful对外进行开放。
2、本发明能够自动根据wsdl文件检索对应的接口方法及参数内容。
具体实施方式
下面结合实施例对本发明做进一步说明。
应该指出,以下详细说明都是示例性的,旨在对本申请提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本申请所属技术领域的普通技术人员通常理解的相同含义。
需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本申请的示例性实施方式。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式,此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在特征、步骤、操作、器件、组件和/或它们的组合。
本实施例提供了一种支持webservice协议调用的API网关服务方法,具体包括以下步骤:
步骤S1:用户登录API网关服务平台,进行API服务注册并填写该API服务对应webservice wsdl地址;
步骤S2:系统通过webservice wsdl地址信息,自动检索对应的方法名以及方法的参数信息,并映射到网关服务平台上,供用户选择;
步骤S3:用户填写完发布的API信息之后,该API在网关服务平台上通过restful协议对外开放,网关服务平台再通过webservice协议对接到第三方应用。
在本实施例中,还包括步骤S4:当网关服务平台接收到外部调用该API接口信息时,自动将该API接口信息对应的restful协议请求的参数信息组合成XML格式进行webservice接口调用,使用httpclient访问wsdl中的地址,并将结果信息返回外部调用。
本实施例在API网关中,将第三方webservice协议接口通过restful协议对外进行开放;本实施例在API网关中,将restful协议请求组合成XML格式进行webservice接口调用;同时本实施例在API网关平台中,根据第三方wsdl文件检索方法名、参数信息。本实施例能够解决目前API网关服务平台只支持restful协议,不支持webservice协议带来的接入问题,提供了webservice 协议的接入支持,在网页上直接配置webservice接入的wsdl地址,并支持普通类型、复杂类型参数的传入。
以上所述仅为本发明的较佳实施例,凡依本发明申请专利范围所做的均等变化与修饰,皆应属本发明的涵盖范围。

Claims (2)

1.一种支持webservice协议调用的API网关服务方法,其特征在于:包括以下步骤:
步骤S1:用户登录API网关服务平台,进行API服务注册并填写该API服务对应webservice wsdl地址;
步骤S2:系统通过webservice wsdl地址信息,自动检索对应的方法名以及方法的参数信息,并映射到网关服务平台上,供用户选择;
步骤S3:用户填写完发布的API信息之后,该API在网关服务平台上通过restful协议对外开放,网关服务平台再通过webservice协议对接到第三方应用。
2.根据权利要求1所述的一种支持webservice协议调用的API网关服务方法,其特征在于:还包括步骤S4:当网关服务平台接收到外部调用该API接口信息时,自动将该API接口信息对应的restful协议请求的参数信息组合成XML格式进行webservice接口调用,使用httpclient访问wsdl中的地址,并将结果信息返回外部调用。
CN201811093376.6A 2018-09-19 2018-09-19 一种支持webservice协议调用的API网关服务方法 Pending CN109218426A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811093376.6A CN109218426A (zh) 2018-09-19 2018-09-19 一种支持webservice协议调用的API网关服务方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811093376.6A CN109218426A (zh) 2018-09-19 2018-09-19 一种支持webservice协议调用的API网关服务方法

Publications (1)

Publication Number Publication Date
CN109218426A true CN109218426A (zh) 2019-01-15

Family

ID=64985051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811093376.6A Pending CN109218426A (zh) 2018-09-19 2018-09-19 一种支持webservice协议调用的API网关服务方法

Country Status (1)

Country Link
CN (1) CN109218426A (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113394A (zh) * 2019-04-19 2019-08-09 浙江数链科技有限公司 Api调用方法和装置
CN110493067A (zh) * 2019-09-05 2019-11-22 中国银联股份有限公司 一种api网关服务更新的方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695076A (zh) * 2009-09-21 2010-04-14 中兴通讯股份有限公司 基于Web服务的统一代理适配方法、装置以及适配系统
CN101764837A (zh) * 2009-12-23 2010-06-30 宁波东海蓝帆科技有限公司 一种Web服务动态调用系统及调用方法
CN102546810A (zh) * 2012-01-16 2012-07-04 广州市新信荟智信息产业有限公司 一种数据库的远程访问方法
CN102739609A (zh) * 2011-04-08 2012-10-17 中兴通讯股份有限公司 呼叫处理方法及装置
US20170351983A1 (en) * 2016-06-07 2017-12-07 International Business Machines Corporation Ontology for development-time soa service repository having services implemented using varying technologies

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101695076A (zh) * 2009-09-21 2010-04-14 中兴通讯股份有限公司 基于Web服务的统一代理适配方法、装置以及适配系统
CN101764837A (zh) * 2009-12-23 2010-06-30 宁波东海蓝帆科技有限公司 一种Web服务动态调用系统及调用方法
CN102739609A (zh) * 2011-04-08 2012-10-17 中兴通讯股份有限公司 呼叫处理方法及装置
CN102546810A (zh) * 2012-01-16 2012-07-04 广州市新信荟智信息产业有限公司 一种数据库的远程访问方法
US20170351983A1 (en) * 2016-06-07 2017-12-07 International Business Machines Corporation Ontology for development-time soa service repository having services implemented using varying technologies

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113394A (zh) * 2019-04-19 2019-08-09 浙江数链科技有限公司 Api调用方法和装置
CN110493067A (zh) * 2019-09-05 2019-11-22 中国银联股份有限公司 一种api网关服务更新的方法及装置
CN110493067B (zh) * 2019-09-05 2022-02-18 中国银联股份有限公司 一种api网关服务更新的方法及装置

Similar Documents

Publication Publication Date Title
CN109151091A (zh) 一种支持dubbo协议调用的API网关服务
KR101422886B1 (ko) 인터넷 기반형 텍스트 및 비디오 통신 서비스에 대한 개인 식별 및 상호작용 디바이스
US9020477B2 (en) Systems and methods for terminating telephony communications to mobile telephony devices
CN103699367B (zh) Http应用程序接口调用方法与装置
US20060029048A1 (en) Method to optimally select bandwidth and priority for voice message packets in a voice over IP network
GB2434712A (en) Barring calls from a first network to a second network
RU2011128775A (ru) Способ и узел услуг доступа к видеочасти речевого и видео вызова и способ добавления видеочасти к речевому вызову
US11012559B2 (en) Method and system to enhance communication between multiple parties
KR20050004814A (ko) 무선 네트워크 제어기(rnc)와 추가의 이동 무선네트워크 소자 사이에 ip 패킷들을 전송하는 방법 및디바이스
CN109218426A (zh) 一种支持webservice协议调用的API网关服务方法
US20050201336A1 (en) System and method for providing codec information in a mobile communication network
US8971217B2 (en) Transmitting packet-based data items
CA2786589A1 (en) Method and apparatus for cellular roaming charge bypass call completion
US9118507B2 (en) Techniques for message waiting indication support across different protocols
JP2013009433A (ja) サービスサーバ装置、サービス提供方法、サービス提供プログラム
CN105306758B (zh) 一种建立呼叫时企业网络标识的传送方法、ibcf及ims
CN108307082A (zh) 一种实现ip语音业务接入的方法
WO2012160823A1 (ja) サービスサーバ装置、サービス提供方法、サービス提供プログラム
CN101465858B (zh) 监控业务中实现私网穿越的方法、网络设备和服务器
CN106060784A (zh) 集群通信系统的语音呼叫方法、系统、装置及网关设备
US8582559B2 (en) System and method for handling media streams
CN108881182A (zh) 基于ios的移动终端的网络电话实现方法及系统
CN101141355A (zh) 基于网络电话技术的固定移动融合系统及方法
CN111246021A (zh) 用于实现对个人语音助理的远程访问的方法
CN105530252B (zh) 一种呼叫处理方法及装置

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190115

RJ01 Rejection of invention patent application after publication