Axis calls Webservice to add SoupHeader

What is Axis:

The full name of Axis is Apache eXtensible Interaction System. It is an open source project under the apache organization. It is used for webservice development. There are java version and c++ version. SOAP, which is the version that supports SOAP1.1, is now the third generation of AXIS. AXIS has made many improvements to Apache SOAP, such as replacing the previous DOM with SAX, adding support for WSDL, and supporting SOAP1.2 etc.

Webservice

WebService is a cross-programming language and cross-operating system platform remote calling technology.
The server program is written in java, and the client program can be written in other programming languages, and vice versa! It means that the server program and the client program can run on different operating systems.

XML+XSD, SOAP and WSDL are the three major technologies that constitute the WebService platform.

The SOAP protocol defines the format of the SOAP message. The SOAP protocol is based on the HTTP protocol. SOAP is also based on XML and XSD. XML is the data encoding method of SOAP.

A WSDL file is stored on a web server and can be accessed through a url address. Before the client calls a WebService, it needs to know the address of the WSDL file of the service.

Axis calls Webservice steps:
Generate client code:

Supongo que te gusta

Origin blog.csdn.net/weixin_42551921/article/details/127658268
Recomendado
Clasificación