Web service client automation generation method and device

A web service and client-side technology, applied in the field of web services, can solve problems such as the inability to support complex data type analysis of WSDL documents, and achieve the effect of parsing

Inactive Publication Date: 2010-07-07
BEIHANG UNIV
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for automatically generating a Web service client to solve the defect that the existing technology cannot support the analysis of complex data types in WSDL documents, and realize the analysis of complex data types in WSDL documents, which is beneficial to Web Service client automation generation

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Web service client automation generation method and device
  • Web service client automation generation method and device
  • Web service client automation generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0029] The main technical solution of the embodiment of the present invention is to receive the WSDL document corresponding to the Web service, use the depth-first recursive algorithm to parse the complex data type parameters, and obtain the complex type data structure, including the parameter name, type and inheritance relationship between paramet...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides Web service client automation generation method and device, wherein the Web service client automation generation method comprises the following steps of: receiving a web services description language (WSDL) document of a Web service; analyzing the basic information and the complex data type parameter of the WSDL document to obtain a simple data type object and a complex data type object; generating a simple type data interface and a complex type data interface which are respectively correspond to the simple data type object and the complex data type object according to the simple data type object and the complex data type object; acquiring data through the simple type data interface and the complex type data interface; detecting whether the data accord with a data structure or not, and if so, generating a simple object access protocol (SOAP) request message used for calling the Web service according to the data; receiving a SOAP response message, and analyzing to obtain a Web service calling result so as to completing the generation of a Web service client. The embodiment of the invention realizes the analysis of complex data types of the WSDL document and is beneficial to generating the automation of the Web service client.

Description

technical field [0001] The embodiment of the present invention relates to the technical field of Web services, in particular to a method and device for automatically generating a Web service client. Background technique [0002] Today, Web service, as a new model, is being gradually applied to people's computing. Web services use open standards to facilitate communication between disparate applications and platforms. An important standard supporting Web services is WSDL, which is Web Services Description Language, and WSDL is an XML-based language. Each Web service is equipped with an associated WSDL document, which records the information that enables developers to use the service, lists the functions of the service, explains the location of the service on the Web, and provides instructions for using it. Instructions; it also defines the types of messages that the Web service can send and receive, and specifies the data that the calling program must provide to the Web ser...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06H04L29/08
Inventor 杜宗霞刘旭东金若凡吴茜
Owner BEIHANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products