Web service client automatically generated model
- Author
- LiBoWen
- Advisor
- ChenPing
- School
- Zhejiang University
- Major
- Applied Computer Technology
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 121
- Citations
- 0
Abstract
Web services (Web Service) its a unique loosely coupled distributed architecture, the complete encapsulation protocol specification, as well as the height integration and interoperability features of being widely accepted by the industry and support; species-based Web services application architecture and design, the related protocol standards, as well as the solution to the problem of security in large numbers, and Web services built on the existing mature and widely used technology based on, not to propose a new system , so that the original investment in information systems to maximize retention, which has laid a solid foundation for the rapid development of Web services and application. Web services applications will be a variety of e-commerce system, due to the progress of economic globalization, enterprise e-commerce system must adapt to the new trading patterns and characteristics. Dynamic e-business processes based on Web services solutions to meet the recurrent changes of the business processes and the dynamic changes in the characteristics of its unified service description language WSDL greatly improve the interaction between the system and thus be able to meet the The new trading patterns of the system must be able to interact. E-business processes based on Web services often need to find and visit a new Web service. Usually process run through UDDI registry service to find, access, organization description and service description, and then by the technical staff to write the client program to access the service according to the service description WSDL document, the last The system calls these clients to access Web services, which is the complete process to access the Web service. Only write the client part of the program is the need for manual intervention, if this part of the process to be automated, ie by the code generation tool to complete the whole process is basically to achieve a fully automated, so as to achieve the goal of real-time enterprise (RTE) and Web services requirements of the trading market. IBM's researchers proposed Web services-based workflow definition language WSFL Web Services Invocation Framework WSIF precisely toward this direction Find the four modes are defined in the WSFL, researchers for the Web services, the UDDI mode and dynamic positioning mode needs to be able to quickly complete service description document WSDL file from the Web to access the Web service client mapping, automatic code generation tool is the most appropriate solution for this problem, if using artificial realize This part of the work will become the bottleneck of the whole system. This paper attempts to WSDL based on XML-based technology, automated analysis and complete WSDL document to the the corresponding JAVA client mapping work by setting a certain transformation rules and binding under the current SOAP encapsulation protocol to achieve a simple theoretical model, and the model provides a high-level abstraction call interface to facilitate the extension of similar SOAP calls binding, the model is similar to the CORBA technology from IDL file to server program framework (skelecton) and the client program piles (stub) language mapping process to generate the client calls the pile to generate a relatively abstract high-level call interface, while taking advantage of WSDL is based on the characteristics of structured XML document, JavaBeans technology package to complete the complex data type mapping work complete the call to the appropriate Web service client code on the generated code to provide certain authentication methods, including integrity checking, semantic validation and provide a means of debugging - the use of the Java language the Reflection mechanism and reverse mapping rules to generate the WSDL part fragment used to compare and the original WSDL recursive extended fragment. The contribution of this paper is to: 1. Proposed and implemented an important technology to explore the dynamic e-business architecture based on Web services from a WSDL document to the corresponding Web service client program automatically generate model from practice; 2. Mapping from WSDL defined complex data types to the corresponding JavaBeans fully automated data on some of the new data types can adaptively support; 3. Defined rules in automated code generation tools, code generation and checking the correctness of the work completed entirely without human intervention; 4. A higher level of abstraction calls to encapsulate SOAP binding, is conducive to future expansion;
Table of contents
1. Overview the Application 6-13
1.1 Background 6-8
1.1.1 new international trade environment has brought new challenges are found;
1.1.2 Current solutions the 1.1.3 new solutions
6-8
1.2 current research status -11
1.2.1 UDDI plans and prospects 8-9 1.2.2 B2B business model based on Web Service
9-11
1.2.3 B2C business model based on Web Service the research content 11
1.3 This article 11-13
2. Technical background 13-23 the WEB SERVICE framework Introduction
2.1 13-15
2.2 the WEB Services Flow Language WSFL About 15-16 <br / > 2.2.1 WSFL Web services positioning nbsp the WSIF framework 2.3 service invocation About 15-16
; 16-22 in 2.3.1 the WSIF The
characteristics the 2.3.2 SOAP applications compared nbsp 16-17
; 17-21
2.3.3 the WSIF application mode 21
2.3.4 summarizes 21-22 IN
the generic SOAP browser 2.4 program 22-23
3. WEB services client automatically generated model 23-51
3.1 the model structural Introduction 23-29
3.1.1 Model Structure 23-24
3.1.2 model the 24-27 the 3.1.3 application scenarios
27-29
3.1.4 The model in the electronic role in the business chain 29
3.2 Model 29-51
3.2.1 data type mapping 29-37
the .2.1.1 basic data type mapping 30-32
3.2.1.2 nested, defined data mapping 32-34
3.2. 1.3 recursive data mapping rules 34-37
3.2.2 code generation 37-41
3.2.2.1 naming 37-40
3.2.2.2 code generation the 40-41 3.2.3 correctness test
41
3.2.3. 1 data type inspection 41
3.2.3.2 interface test 41
3.2.3.3 reverse generate the WSDL fragment Inspection 41 < br /> the 3.2.4 bindings agreement adapter 41-42
3.2.5 model 42-51
3.2.5.1 the WSDL parsing module 42-43
3.2.5.2 The code generation module 43-48
3.2.5.3 binding protocol adapter 48-51
4. Performance analysis and optimization the 51-52 4.1 Performance Analysis
51
4.2 optimizations 51-52
5. Summary and Outlook 52-55
5.1 and the WSIF compare 52-53
a 5.2 further work 53-54
5. 3 WEB service application 54-55
6. References 55-57
Related dissertations
- Design and Realization of the Purchasing Management System Based on Web Services
- Networked collaborative manufacturing platform NCMPws number of key technology research
- Agile Supply Chain Management System Based on Web Services
- Research and application of dynamic J2EE and Web Services - based e-commerce
- Web Services Enabled Application Integration in e-Business Environment
- Application of dynamic e-business Web services
- Web services and their government e-procurement platform
- A Research and Development on Web Service Application Interface System
- The Application and Research of Web Services in EGO365 Website
- The Designing and Implementation of China Mobile Vas Web Services Automatic Testing Tool
- Inventory management information system design and implementation of Web based on Service
- The Design and Realization of School Students’ Information Collecting System Based on SOA
- Sensor Information Classifying and Sharing in Internet of Things Environment
- Research on the Technology of OXC Web Services Registration and Discovery
- The Research of Web Services Architecture and Applications
- Web Service -based data exchange system
- The Research and Implementation of Web Service Based on JXTA Platform
- Research and Practice about Event Driven Architecture Based on SOA
- Design and Implementation of Enterprise Application Integration Based on SOA
- Time Web services - based application system performance optimization strategy and achieve