wsdl2h1
The gsoap wsdl/wadl/xsd processor for c and c++
Usage
wsdl2h [OPTIONS]
SOURCE ...
Overview
Converts a WSDL or XSD input file, or from an HTTP address, SOURCE to a declaration file that can be parsed by soapcpp2(1). If no SOURCE argument is specified, read from standard input.
Options
-
-a -
Generate indexed struct names for local elements with anonymous types.
-
-b -
Bi-directional operations (duplex ops) added to serve one-way responses.
-
-c -
Generate C source code.
-
-c++ -
Generate C++ source code (default).
-
-c++11 -
Generate C++11 source code.
-
-c++14 -
Generate C++14 source code.
-
-c++17 -
Generate C++17 source code.
-
-D -
Make attribute members with default/fixed values optional with pointers.
-
-d -
Use DOM to populate
xs:any,xs:anyType andxs:anyAttribute.
-
-e -
Do not qualify enum names.
-
-F -
Add transient members to structs to simulate struct-type derivation in C.
-
-f -
Generate flat C++ class hierarchy by removing inheritance.
-
-g -
Generate global top-level element and attribute declarations.
-
-h -
Display help info and exit.
-
-Ipath -
Use path to locate WSDL and XSD files.
-
-i -
Do not import (advanced option).
-
-j -
Do not generate
SOAP_ENV__HeaderandSOAP_ENV__Detaildefinitions.
-
-k -
Do not generate
SOAP_ENV__HeadermustUnderstand qualifiers.
-
-L -
Generate less documentation by removing generic @note comments.
-
-l -
Display license information.
-
-M -
Suppress error "must understand element with
wsdl:required='true'".
-
-m -
Use
xsd.hmodule to import primitive types.
-
-Nname -
Use name for service prefixes to produce a service for each binding.
-
-nname -
Use name as the base namespace prefix instead of
ns.
-
-O1 -
Optimize by omitting duplicate choice/sequence members.
-
-O2 -
Optimize -O1 and omit unused schema types (unreachable from roots).
-
-O3 -
Optimize -O2 and omit unused schema root attributes.
-
-O4 -
Optimize -O3 and omit unused schema root elements (use only with WSDLs).
-
-Ow2 -
Optimize -O2 while retaining all derived types of used base types.
-
-Ow3 -
Optimize -O3 while retaining all derived types of used base types.
-
-Ow4 -
Optimize -O4 while retaining all derived types of used base types.
-
-ofile -
Output to file file.
-
-P -
Do not create polymorphic types inherited from
xsd__anyType.
-
-p -
Create polymorphic types inherited from base
xsd__anyType.
-
-Q -
Make
xsd__anySimpleTypeequal toxsd__anyTypeto use as the base type.
-
-qname -
Use name for the C++ namespace of all declarations.
-
-R -
Generate REST operations for REST bindings specified in a WSDL.
-
-rhost[:port[:uid:pwd]] -
Connect via proxy host, port and proxy credentials uid and pwd.
-r:uid:pwd-
Connect with authentication credentials uid and pwd.
-
-Sname -
Use name instead of
soapfor the C++ class members with soap contexts.
-
-s -
Do not generate STL code (no
std::stringand nostd::vector).
-
-tfile -
Use type map file file instead of the default file
typemap.dat.
-
-U -
Allow UTF-8-encoded Unicode C/C++ identifiers when mapping XML tag names.
-
-u -
Do not generate unions.
-
-V -
Display the current version and exit.
-
-v -
Verbose output.
-
-W -
Suppress warnings.
-
-w -
Always wrap response parameters in a response struct (<=1.1.4 behavior).
-
-X -
Do not qualify part names to disambiguate doc/lit wrapped patterns.
-
-x -
Do not generate
_XMLany/anyAttribute extensibility elements.
-
-y -
Generate typedef synonyms for structs and enums.
-
-z1 -
Compatibility with 2.7.6e: Generate pointer-based arrays.
-
-z2 -
Compatibility with 2.7.7-2.7.15: (un)qualify element/attribute references.
-
-z3 -
Compatibility with 2.7.16-2.8.7: (un)qualify element/attribute references.
-
-z4 -
Compatibility up to 2.8.11: Do not generate union structs in
std::vector.
-
-z5 -
Compatibility up to 2.8.15: Do not include minor improvements.
-
-z6 -
Compatibility up to 2.8.17: Do not include minor improvements.
-
-z7 -
Compatibility up to 2.8.59: Do not generate
std::vectorof class of union.
-
-z8 -
Compatibility up to 2.8.74: Do not generate qualifiers for doc/lit wrapped patterns.
-
-z9 -
Compatibility up to 2.8.93: Always qualify element/attribute references.
-
-z10 -
Compatibility up to 2.8.96: Generate qualifiers even when defined w/o namespace.
-_-
Do not generate _USCORE (replace with Unicode code point _x005f).
Releases
11 releases since Debian 3.1 (Sarge); the text changed 7 times.
-D since Debian 10 (Buster);
-F since Debian 10 (Buster);
-I since Debian 5.0 (Lenny);
-L since Debian 10 (Buster);
-M since Debian 9 (Stretch);
-N since Debian 5.0 (Lenny);
-O1 since Debian 10 (Buster);
-O2 since Debian 10 (Buster);
-O3 since Debian 10 (Buster);
-O4 since Debian 10 (Buster);
-Ow2 since Debian 11 (Bullseye);
-Ow3 since Debian 11 (Bullseye);
-Ow4 since Debian 11 (Bullseye);
-P since Debian 7 (Wheezy);
-Q since Debian 11 (Bullseye);
-R since Debian 8 (Jessie);
-S since Debian 10 (Buster);
-U since Debian 9 (Stretch);
-V since Debian 10 (Buster);
-W since Debian 7 (Wheezy);
-X since Debian 11 (Bullseye);
-a since Debian 5.0 (Lenny);
-b since Debian 8 (Jessie);
-c since Debian 5.0 (Lenny);
-c++ since Debian 9 (Stretch);
-c++11 since Debian 9 (Stretch);
-c++14 since Debian 12 (Bookworm);
-c++17 since Debian 12 (Bookworm);
-d since Debian 5.0 (Lenny);
-e since Debian 5.0 (Lenny);
-f since Debian 5.0 (Lenny);
-g since Debian 5.0 (Lenny);
-h since Debian 5.0 (Lenny);
-i since Debian 7 (Wheezy);
-j since Debian 5.0 (Lenny);
-k since Debian 7 (Wheezy);
-l since Debian 5.0 (Lenny);
-m since Debian 5.0 (Lenny);
-n since Debian 5.0 (Lenny);
-o since Debian 5.0 (Lenny);
-p since Debian 5.0 (Lenny);
-q since Debian 7 (Wheezy);
-r since Debian 5.0 (Lenny);
-s since Debian 5.0 (Lenny);
-t since Debian 5.0 (Lenny);
-u since Debian 5.0 (Lenny);
-v since Debian 5.0 (Lenny);
-w since Debian 5.0 (Lenny);
-x since Debian 5.0 (Lenny);
-y since Debian 5.0 (Lenny);
-z1 since Debian 7 (Wheezy);
-z10 since Debian 11 (Bullseye);
-z2 since Debian 7 (Wheezy);
-z3 since Debian 8 (Jessie);
-z4 since Debian 8 (Jessie);
-z5 since Debian 8 (Jessie);
-z6 since Debian 9 (Stretch);
-z7 since Debian 10 (Buster);
-z8 since Debian 11 (Bullseye);
-z9 since Debian 11 (Bullseye).
-z until Debian 6.0 (Squeeze).