fde9577
.\"                                      Hey, EMACS: -*- nroff -*-
fde9577
.\" First parameter, NAME, should be all caps
fde9577
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
fde9577
.\" other parameters are allowed: see man(7), man(1)
fde9577
.TH WSDL2H 1 "December 23, 2004"
fde9577
.\" Please adjust this date whenever revising the manpage.
fde9577
.\"
fde9577
.\" Some roff macros, for reference:
fde9577
.\" .nh        disable hyphenation
fde9577
.\" .hy        enable hyphenation
fde9577
.\" .ad l      left justify
fde9577
.\" .ad b      justify to both left and right margins
fde9577
.\" .nf        disable filling
fde9577
.\" .fi        enable filling
fde9577
.\" .br        insert line break
fde9577
.\" .sp <n>    insert n+1 empty lines
fde9577
.\" for manpage-specific macros, see man(7)
fde9577
.SH NAME
734012e
wsdl2h \- the gSOAP WSDL/WADL/XSD processor for C and C++
fde9577
.SH SYNOPSIS
fde9577
\fBwsdl2h\fR [\fIOPTIONS\fR] \fISOURCE\fR ...
fde9577
.SH DESCRIPTION
734012e
Please see /usr/share/doc/gsoap-doc/soapdoc2.html for details.
fde9577
.PP
4979e72
Converts a \fBWSDL\fR or \fBXSD\fR input file, or from an HTTP address,
fde9577
\fISOURCE\fR to a declaration file that can be parsed by
5269e5a
\fBsoapcpp2\fR(1). If no \fISOURCE\fR argument is specified, read
423ec93
from standard input.
fde9577
.SH OPTIONS
fde9577
.TP
fde9577
\fB\-a\fR
fde9577
Generate indexed struct names for local elements with anonymous
423ec93
types.
fde9577
.TP
a8664e3
\fB\-b\fR
9231f6d
Bi-directional operations (duplex ops) added to serve one-way responses.
a8664e3
.TP
fde9577
\fB\-c\fR
fde9577
Generate C source code.
fde9577
.TP
284136a
\fB\-c++\fR
284136a
Generate C++ source code (default).
284136a
.TP
284136a
\fB\-c++11\fR
284136a
Generate C++11 source code.
284136a
.TP
fde9577
\fB\-d\fR
fde9577
Use DOM to populate \fBxs\fR:\fIany\fR, \fBxs\fR:\fIanyType\fR and
fde9577
\fBxs\fR:\fIanyAttribute\fR.
fde9577
.TP
fde9577
\fB\-e\fR
4979e72
Do not qualify enum names.
fde9577
.TP
fde9577
\fB\-f\fR
fde9577
Generate flat C++ class hierarchy.
fde9577
.TP
fde9577
\fB\-g\fR
fde9577
Generate global top-level element declarations.
fde9577
.TP
fde9577
\fB\-h\fR
4979e72
Display help info.
fde9577
.TP
fde9577
\fB\-I\fIpath\fR
fde9577
Use \fIpath\fR to find files.
fde9577
.TP
a8664e3
\fB\-i\fR
a8664e3
Do not import (advanced option).
a8664e3
.TP
fde9577
\fB\-j\fR
4979e72
Do not generate \fBSOAP_ENV__Header\fR and \fBSOAP_ENV__Detail\fR
fde9577
definitions.
fde9577
.TP
fde9577
\fB\-k\fR
4979e72
Do not generate \fBSOAP_ENV__Header\fR mustUnderstand qualifiers.
fde9577
.TP
fde9577
\fB\-l\fR
fde9577
Display license information.
fde9577
.TP
fde9577
\fB\-m\fR
423ec93
Use \fBxsd.h\fR module to import primitive types.
fde9577
.TP
258c2f9
\fB\-M\fR
258c2f9
Suppress error "must understand element with \fBwsdl\fR:\fIrequired\fR='true'".
258c2f9
.TP
a8664e3
\fB\-N\fIname\fR
9231f6d
Use \fIname\fR for service prefixes to produce a service for each binding.
a8664e3
.TP
fde9577
\fB\-n\fIname\fR
423ec93
Use \fIname\fR as the base namespace prefix instead of \fBns\fR.
fde9577
.TP
fde9577
\fB\-o\fIfile\fR
fde9577
Output to file \fIfile\fR.
fde9577
.TP
fde9577
\fB\-P\fR
a8664e3
Do not create polymorphic types inherited from \fBxsd__anyType\fR.
a8664e3
.TP
a8664e3
\fB\-p\fR
a8664e3
Create polymorphic types inherited from base \fBxsd__anyType\fR.
fde9577
.TP
fde9577
\fB\-q\fIname\fR
fde9577
Use \fIname\fR for the C++ namespace of all declarations.
fde9577
.TP
9231f6d
\fB\-R\fR
734012e
Generate REST operations for REST bindings specified in the WSDL.
9231f6d
.TP
fde9577
\fB\-r\fIhost\fR[:\fIport\fR[:\fIuid\fR:\fIpwd\fR]]
fde9577
Connect via proxy \fIhost\fR, \fIport\fR and proxy credentials.
fde9577
.TP
3c2bc09
\fB\-r\fR:\fIuid\fR:\fIpwd\fR
3c2bc09
Connect with authentication credentials (digest auth requires SSL).
3c2bc09
.TP
fde9577
\fB\-s\fR
4979e72
Do not generate STL code (no \fBstd::string\fR and no
423ec93
\fBstd::vector\fR).
fde9577
.TP
fde9577
\fB\-t\fIfile\fR
fde9577
Use type map file \fIfile\fR instead of the default file
423ec93
\fBtypemap.dat\fR.
fde9577
.TP
284136a
\fB\-U\fR
284136a
Allow UTF8-encoded Unicode C/C++ identifiers when mapping XML tag names.
284136a
.TP
fde9577
\fB\-u\fR
4979e72
Do not generate unions.
fde9577
.TP
02f0cd3
\fB\-V\fR
02f0cd3
Display the current version and exit.
02f0cd3
.TP
fde9577
\fB\-v\fR
fde9577
Verbose output.
fde9577
.TP
a8664e3
\fB\-W\fR
a8664e3
Suppress warnings.
a8664e3
.TP
fde9577
\fB\-w\fR
fde9577
Always wrap response parameters in a response struct (<=1.1.4
423ec93
behaviour).
fde9577
.TP
fde9577
\fB\-x\fR
fde9577
Do not generate \fB_XML\fR \fIany\fR/\fIanyAttribute\fR extensibility
423ec93
elements.
fde9577
.TP
fde9577
\fB\-y\fR
423ec93
Generate typedef synonyms for structs and enums.
fde9577
.TP
fde9577
\fB\-z1\fR
fde9577
Compatibility with 2.7.6e: Generate pointer-based arrays.
fde9577
.TP
fde9577
\fB\-z2\fR
5269e5a
Compatibility with 2.7.7 to 2.7.15: Qualify element/attribute references.
a8664e3
.TP
a8664e3
\fB\-z3\fR
5269e5a
Compatibility with 2.7.16 to 2.8.7: Qualify element/attribute references.
a8664e3
.TP
a8664e3
\fB\-z4\fR
5269e5a
Compatibility up to 2.8.11: Do not generate union structs in \fBstd::vector\fR.
fde9577
.TP
6144ce1
\fB\-z5\fR
9231f6d
Compatibility up to 2.8.15.
9231f6d
.TP
dcf32d4
\fB\-z6\fR
dcf32d4
Compatibility up to 2.8.17.
dcf32d4
.TP
fde9577
\fB\-_\fR
fde9577
Do not generate _USCORE (replace with UNICODE _x005f).
fde9577
.SH SEE ALSO
5269e5a
.BR soapcpp2 (1).
fde9577
.SH AUTHOR
fde9577
This manual page was written by Thomas Wana <greuff@debian.org>,
fde9577
for the Debian project (but may be used by others).