In this article, all programs are developed in Linux and can run normally after testing.
In the development process, we need to use gsoap, which can be downloaded from the following URL:
What I download is gsoap_2.7.12.tar.gz http://www.cs.fsu.edu /~ Download Engelen/soap.html, decompress it, and compile and install it according to the normal installation process. # Tar zxvf gsozp_2.7.12.tar.gz
# Cd gsoap_2.7.12
#./Configure -- prefix =/usr/local/gsoap (specify the installation path)
# Make
# Make install
Install the following compilation tools
Install the compilation tool:
$ Sudo apt-Get install build-essential
To successfully compile gsoap, you must install the GTK + Development file and the glib Library (Libraries ).
$ Sudo apt-Get install libgtk2.0-dev libglib2.0-Dev
Install checkinstall to manage software that is directly compiled and installed by source code in your system.
$ Sudo apt-Get install checkinstall
Gsoap source code: http://gsoap2.sourceforge.net/(download in the page)
The problems and solutions are as follows:
Problem 1:
Make [4]: Entering directory '/home/Titus/opencomponent/gsoap-2.8/gsoap/src'
/Bin/bash http://www.cnblogs.com/ylwrap soapcpp2_yacc.y. Tab. c soapcpp2_yacc.c Y. Tab. h soapcpp2_yacc.h Y. Output soapcpp2_yacc.output -- YACC-D-V
Http://www.cnblogs.com/ylwrap: line 111: YACC: Command not found
Make [4]: *** [soapcpp2_yacc.c] Error 1
Cause:
Not Installed: YACC (yet another compiler) is a compiler (compiler code generator) used to generate the compiler on Unix/Linux ).
Solution:
Sudo apt-Get install flex bison
Problem 2:
Http://www.cnblogs.com/gsoap/stdsoap2.h:695: fatal error: OpenSSL/Bio. H: No file or directory
Compilation terminated.
Make [5]: *** [wsdl2h] Error 1
Cause: the header file of OpenSSL is missing.
Solution:
Sudo apt-Get install OpenSSL
To install the common OpenSSL library files, run the following command to determine the application version of the library files available in the Ubuntu system:
Sudo apt-cache search libssl | grep SSL
Sudo apt-Get install libssl-Dev
Note that the Chinese path cannot be installed.