1SOAPCPP2(1) General Commands Manual SOAPCPP2(1)
2
3
4
6 soapcpp2 - the gSOAP Stub and Skeleton Compiler for C and C++
7
9 soapcpp2 [OPTIONS] INPUT
10
12 Please see /usr/share/doc/gsoap-doc/soapdoc2.html for details.
13
14 Create stubs and client and server code from input INPUT or standard
15 input if INPUT is not specified.
16
18 -0 No SOAP, generate REST source code.
19
20 -1 Generate SOAP 1.1 source code.
21
22 -2 Generate SOAP 1.2 source code.
23
24 -A Require HTTP SOAPAction headers to invoke server-side opera‐
25 tions.
26
27 -a Use HTTP SOAPAction with WS-Addressing to invoke server-side
28 operations.
29
30 -b Serialize byte arrays char[N] as string.
31
32 -C Generate client-side source code only.
33
34 -c Generate C source code.
35
36 -c++ Generate C++ source code (default).
37
38 -c++11 Generate C++ source code optimized for C++11 (compile with
39 -std=c++11).
40
41 -dpath Use path to save files.
42
43 -Ec Generate extra functions for deep copying.
44
45 -Ed Generate extra functions for deep deletion.
46
47 -Et Generate extra functions for data traversals with callback func‐
48 tions.
49
50 -e Generate SOAP RPC encoding style bindings (also use -1 or -2).
51
52 -fN Multiple soapC files, with N serializer definitions per file
53 (N>=10).
54
55 -g Generate XML sample messages in template format for testmsgr.
56
57 -h Display help info and exit.
58
59 -Ipath Use path(s) for #import (paths separated with ':').
60
61 -i Generate C++ service proxies and objects inherited from soap
62 struct.
63
64 -j Generate C++ service proxies and objects that share a soap
65 struct.
66
67 -L Do not generate soapClientLib/soapServerLib.
68
69 -l Generate linkable modules (experimental).
70
71 -m Generate source code for the Matlab(tm) MEX compiler (depre‐
72 cated).
73
74 -n Use service name to rename service functions and namespace ta‐
75 ble.
76
77 -pname Save files with new prefix name instead of soap.
78
79 -Qname Use name as the C++ namespace, including custom serializers.
80
81 -qname Use name as the C++ namespace, excluding custom serializers.
82
83 -r Generate soapReadme.md report.
84
85 -S Generate server-side source code only.
86
87 -s Generate stub and skeleton functions with strict XML validation
88 checks.
89
90 -T Generate server auto-test source code.
91
92 -t Generate source code for fully xsi:type typed SOAP/XML messages.
93
94 -u Uncomment WSDL/schema output by suppressing XML comments.
95
96 -V Display the current version and exit.
97
98 -v Verbose output.
99
100 -w Do not generate WSDL and schema files.
101
102 -x Do not generate sample XML message files.
103
104 -y Include C/C++ type access information in sample XML messages.
105
106 -z1 Compatibility: Generate old-style C++ service proxies and
107 objects.
108
109 -z2 Compatibility with 2.7.x: Omit XML output for NULL pointers.
110
111 -z3 Compatibility up to 2.8.30: _param_N indexing; nillable point‐
112 ers.
113
115 wsdl2h(1).
116
118 This manual page was written by Thomas Wana <greuff@debian.org>, for
119 the Debian project (but may be used by others).
120
121
122
123 Juni 27, 2003 SOAPCPP2(1)