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