There are many common examples of gsoap clients or servers on the Internet. I will not talk about them here. I will mainly explain some of the less common content and some things I have figured out, for your reference.
You can use wsdl2h-h to view some options of the wsdl2h command. The most common options are as follows:
The-s command means that the generated header file should not use STL.
-T is followed by the typemap. dat file, which is included in typemap. dat by default.
You can also define the following format by including the prefix name in this file:
Tt = "http://www.onvif.org/ver10/schema"
Then all prefixes under the namespace "http://www.onvif.org/ver10/schema" are changed to TT as the prefix.
-J and-K are sometimes used to control the Baotou well.
Some common option commands when using soapcpp2-h:
-1 or-2 indicates the soap version used.
-C,-s indicates that the client or server code is generated.
-L do not generate soapclientlib/soaoserverlib
-If the generated header file contains some header files in the gsoap import folder,
This command is required.
-The file prefix generated by the p command is not soapc or soapclient, but your well-known namec and nameclient.
-W and-X are also commonly used, so that there won't be a lot of intermediate files you don't want to read.
Some advanced features:
To add a header file that supports WS-Addressing and WS-Security, add
WSA. h and wsse. h, and then specify the path using the I command option when using soapcpp2.
For the usage of these two standards, see WSA and wsse in the samples folder of gsoap.
There should be no major problems with these two examples. For more information about wsse, see the gsoap document.
For OpenSSL configuration, vc6.0 and vc9.0 should be easy. Try gsoap.
However, few people do not know anything about the WS-discovery of gsoap. I hope the experts will give me some advice...
----------------------------------- 2010/11/16 -----------------------
So far, we have discovered that gsoap has integrated the OpenSSL and pthread open source libraries, and they have also learned these open source libraries...