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