Supercharge Your Innovation With Domain-Expert AI Agents!

Method for developing Web Service based on CXF (CeltiXfire)

A file and client-side technology, applied in the field of JAVA technology and Web Service communication, can solve problems such as duplication and difficulty, achieve the effect of improving development speed, solving general adaptability problems, and reducing the process of developing Web Service

Inactive Publication Date: 2014-03-12
DALIAN UNIV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, whether it is SOAP or WSDL, they are relatively duplicated. If developers want to manually write WSDL to develop Web Services, the difficulty is quite large.

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
  • Method for developing Web Service based on CXF (CeltiXfire)
  • Method for developing Web Service based on CXF (CeltiXfire)
  • Method for developing Web Service based on CXF (CeltiXfire)

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0016] The specific implementation method is as follows: Step 1, define an interface for the Web Service service provider class:

[0017]

[0018] Step 2: Provide the corresponding implementation class for this interface:

[0019]

[0020]

[0021] Step 3: Simple DTO, User class definition:

[0022]

[0023]

[0024]

[0025] Step 4: The server class of the present invention:

[0026]

[0027] Step 5: Example of client code of the present invention:

[0028]

[0029]

[0030] After the Web Service is released successfully, we use a browser to access the WSDL corresponding to the Web Service of the present invention, and by viewing the WSDL, the client can call the Web Service remotely.

[0031] The method can greatly reduce the process of developers developing Web Services. The present invention uses a code-first development model, that is, we only need to develop suitable Java files according to the requirements of CXF, and CXF will automatically ...

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 discloses a method for developing Web Service based on CXF (CeltiXfire). The method comprises the following steps: developing a suitable Java file according to a CXF programming requirement; generating a required WSDL (Web Services Description Language) document by the CXF, and exporting the WSDL document to form a Web Service file; examining the WSDL document corresponding to the generated Web Service file to remotely call the Web Service by a client. According to the method, a code priority development mode is used, the aim of calling the Web Service remotely by the client is fulfilled by examining the WSDL document corresponding to the generated Web Service, the problem about the universal adaptability to the development of the Web Service is solved, the process of developing the Web Server by a developer is greatly simplified, and the development speed is improved.

Description

technical field [0001] The present invention relates to the field of JAVA technology and Web Service communication technology, in particular to a method for developing Web Service based on CXF. Background technique [0002] With the rapid development and wide application of computer and network technology, the informatization level of government and business departments has been greatly improved, and the amount of data collection, storage, processing and dissemination is also increasing day by day. Data sharing is of great significance to human labor. Data sharing can enable more people to use existing data resources more fully and reduce labor such as repeated data collection and corresponding costs. However, data exists in different forms and in the process of data sharing, different data may exist on different platforms and need to be accessed in different ways, all of which have caused difficulties in data sharing; When building your own application system and storing d...

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): G06F9/44H04L29/08
Inventor 汪祖民王阳
Owner DALIAN UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More