1WSDL2H(1) General Commands Manual WSDL2H(1)
2
3
4
6 wsdl2h - the gSOAP WSDL/WADL/XSD processor for C and C++
7
9 wsdl2h [OPTIONS] SOURCE ...
10
12 Converts a WSDL or XSD input file, or from an HTTP address, SOURCE to a
13 declaration file that can be parsed by soapcpp2(1). If no SOURCE argu‐
14 ment is specified, read from standard input.
15
17 -a Generate indexed struct names for local elements with anonymous
18 types.
19
20 -b Bi-directional operations (duplex ops) added to serve one-way
21 responses.
22
23 -c Generate C source code.
24
25 -c++ Generate C++ source code (default).
26
27 -c++11 Generate C++11 source code.
28
29 -c++14 Generate C++14 source code.
30
31 -c++17 Generate C++17 source code.
32
33 -D Make attribute members with default/fixed values optional with
34 pointers.
35
36 -d Use DOM to populate xs:any, xs:anyType and xs:anyAttribute.
37
38 -e Do not qualify enum names.
39
40 -F Add transient members to structs to simulate struct-type deriva‐
41 tion in C.
42
43 -f Generate flat C++ class hierarchy by removing inheritance.
44
45 -g Generate global top-level element and attribute declarations.
46
47 -h Display help info and exit.
48
49 -Ipath Use path to locate WSDL and XSD files.
50
51 -i Do not import (advanced option).
52
53 -j Do not generate SOAP_ENV__Header and SOAP_ENV__Detail defini‐
54 tions.
55
56 -k Do not generate SOAP_ENV__Header mustUnderstand qualifiers.
57
58 -L Generate less documentation by removing generic @note comments.
59
60 -l Display license information.
61
62 -M Suppress error "must understand element with wsdl:re‐
63 quired='true'".
64
65 -m Use xsd.h module to import primitive types.
66
67 -Nname Use name for service prefixes to produce a service for each
68 binding.
69
70 -nname Use name as the base namespace prefix instead of ns.
71
72 -O1 Optimize by omitting duplicate choice/sequence members.
73
74 -O2 Optimize -O1 and omit unused schema types (unreachable from
75 roots).
76
77 -O3 Optimize -O2 and omit unused schema root attributes.
78
79 -O4 Optimize -O3 and omit unused schema root elements (use only with
80 WSDLs).
81
82 -Ow2 Optimize -O2 while retaining all derived types of used base
83 types.
84
85 -Ow3 Optimize -O3 while retaining all derived types of used base
86 types.
87
88 -Ow4 Optimize -O4 while retaining all derived types of used base
89 types.
90
91 -ofile Output to file file.
92
93 -P Do not create polymorphic types inherited from xsd__anyType.
94
95 -p Create polymorphic types inherited from base xsd__anyType.
96
97 -Q Make xsd__anySimpleType equal to xsd__anyType to use as the base
98 type.
99
100 -qname Use name for the C++ namespace of all declarations.
101
102 -R Generate REST operations for REST bindings specified in a WSDL.
103
104 -rhost[:port[:uid:pwd]]
105 Connect via proxy host, port and proxy credentials uid and pwd.
106
107 -r:uid:pwd
108 Connect with authentication credentials uid and pwd.
109
110 -Sname Use name instead of soap for the C++ class members with soap
111 contexts.
112
113 -s Do not generate STL code (no std::string and no std::vector).
114
115 -tfile Use type map file file instead of the default file typemap.dat.
116
117 -U Allow UTF-8-encoded Unicode C/C++ identifiers when mapping XML
118 tag names.
119
120 -u Do not generate unions.
121
122 -V Display the current version and exit.
123
124 -v Verbose output.
125
126 -W Suppress warnings.
127
128 -w Always wrap response parameters in a response struct (<=1.1.4
129 behavior).
130
131 -X Do not qualify part names to disambiguate doc/lit wrapped pat‐
132 terns.
133
134 -x Do not generate _XML any/anyAttribute extensibility elements.
135
136 -y Generate typedef synonyms for structs and enums.
137
138 -z1 Compatibility with 2.7.6e: Generate pointer-based arrays.
139
140 -z2 Compatibility with 2.7.7-2.7.15: (un)qualify element/attribute
141 references.
142
143 -z3 Compatibility with 2.7.16-2.8.7: (un)qualify element/attribute
144 references.
145
146 -z4 Compatibility up to 2.8.11: Do not generate union structs in
147 std::vector.
148
149 -z5 Compatibility up to 2.8.15: Do not include minor improvements.
150
151 -z6 Compatibility up to 2.8.17: Do not include minor improvements.
152
153 -z7 Compatibility up to 2.8.59: Do not generate std::vector of class
154 of union.
155
156 -z8 Compatibility up to 2.8.74: Do not generate qualifiers for
157 doc/lit wrapped patterns.
158
159 -z9 Compatibility up to 2.8.93: Always qualify element/attribute
160 references.
161
162 -z10 Compatibility up to 2.8.96: Generate qualifiers even when de‐
163 fined w/o namespace.
164
165 -_ Do not generate _USCORE (replace with Unicode code point
166 _x005f).
167
169 soapcpp2(1).
170
172 This manual page was written by Thomas Wana <greuff@debian.org>, for
173 the Debian project (but may be used by others).
174
175
176
177 December 23, 2004 WSDL2H(1)