1WSDL2H(1)                   General Commands Manual                  WSDL2H(1)
2
3
4

NAME

6       wsdl2h - the gSOAP WSDL/WADL/XSD processor for C and C++
7

SYNOPSIS

9       wsdl2h [OPTIONS] SOURCE ...
10

DESCRIPTION

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

OPTIONS

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

SEE ALSO

165       soapcpp2(1).
166

AUTHOR

168       This manual page was written by Thomas  Wana  <greuff@debian.org>,  for
169       the Debian project (but may be used by others).
170
171
172
173                               December 23, 2004                     WSDL2H(1)
Impressum