SOAPCPP2(1)
π SOAPCPP2 π
okay bestie, gather round, because this is the manual page for soapcpp2, aka the gSOAP Stub and Skeleton Compiler for C and C++, and honestly? it's giving compiler-but-make-it-fashion. it lives in the General Commands Manual section of your system, so you already know it's a real one. π
β¨ NAME β¨
soapcpp2 β the gSOAP Stub and Skeleton Compiler for C and C++. yes that's its whole government name and it earned it. π
πΈ SYNOPSIS πΈ
soapcpp2 [OPTIONS] INPUT
π¦ DESCRIPTION π¦
so here's the vibe: you feed it some INPUT, and it creates stubs plus client and server code for you. that's the whole thing. and if you don't specify INPUT at all? no stress, it just reads from standard input instead. lowkey flexible of it. π
π OPTIONS π
okay this is the main character section, so let's go one by one, no skipping, we're doing ALL of them:
-0β no SOAP at all, it generates REST source code instead. we're going REST mode, periodt.-1β generates SOAP 1.1 source code.-2β generates SOAP 1.2 source code.-Aβ requires HTTP SOAPAction headers to invoke server-side operations. like, mandatory mandatory.-aβ uses HTTP SOAPAction with WS-Addressing to invoke server-side operations.-bβ serializes byte arrayschar[N]as a string. cute little glow-up for your bytes.-Cβ generates client-side source code only. client era. π«Ά-cβ generates C source code.-c++β generates C++ source code, and this is the default, so if you don't say anything this is what you get. icon behaviour.-c++11β generates C++ source code optimized for C++11 (compile with-std=c++11).-c++14β generates C++ source code optimized for C++14 (compile with-std=c++14).-c++17β generates C++ source code optimized for C++17 (compile with-std=c++17).-dpathβ usespathto save files. tell it where, bestie. π-Ecβ generates extra functions for deep copying.-Edβ generates extra functions for deep deletion.-Etβ generates extra functions for data traversals with callback functions.-eβ generates SOAP RPC encoding style bindings (also use-1or-2with it, don't forget).-fNβ multiple soapC files, withNserializer definitions per file (N>=10). soNgotta be at least ten, no cap.-gβ generates XML sample messages in template format fortestmsgr.-hβ displays help info and exits. our little escape hatch. π-Ipathβ usespath(s) for#import(paths separated with':'). multiple paths, colon-separated, slay.-iβ generates C++ service proxies and objects inherited fromsoapstruct.-jβ generates C++ service proxies and objects that share asoapstruct.-Lβ does not generatesoapClientLib/soapServerLib.-lβ generates linkable modules, and heads up: this one is experimental. π§ͺ-mβ generates source code for the Matlab(tm) MEX compiler, and ngl this one is deprecated, so maybe don't build your whole personality on it.-nβ uses the service name to rename service functions and namespace table.-pnameβ saves files with new prefixnameinstead ofsoap. custom prefix, custom energy. β¨-Qnameβ usesnameas the C++ namespace, including custom serializers.-qnameβ usesnameas the C++ namespace, excluding custom serializers.-rβ generates asoapReadme.mdreport. documentation? we love her.-Sβ generates server-side source code only. server era this time. π-sβ generates stub and skeleton functions with strict XML validation checks.-Tβ generates server auto-test source code.-tβ generates source code for fullyxsi:typetyped SOAP/XML messages.-uβ uncomments WSDL/schema output by suppressing XML comments.-Vβ displays the current version and exits. quick lil peek. π-vβ verbose output. it will yap (affectionately).-wβ does not generate WSDL and schema files.-xβ does not generate sample XML message files.-yβ includes C/C++ type access information in sample XML messages.-z1β compatibility: generates old-style C++ service proxies and objects.-z2β compatibility with 2.7.x: omits XML output forNULLpointers.-z3β compatibility up to 2.8.30:_param_Nindexing and nillable pointers.-z4β compatibility up to 2.8.105:char*member defaults, even when omitted.
fr fr, do not skip the -z ones. they're compatibility switches and they mean exactly what they say β old behaviour, on purpose, for old code. π
π SEE ALSO π
wsdl2h(1). that's the whole list, go say hi to it.
π AUTHOR π
this manual page was written by Thomas Wana <greuff@debian.org>, for the Debian project (but may be used by others). iconic of them honestly. π
and that's the whole page, bestie! π this gem is from the General Commands Manual, dated Juni 27, 2003 β yeah, 2003, she's vintage and thriving, we stan a legacy queen. now go compile something cute. π¦β¨πΈ
π¦ where this page comes from
- debian bookworm: gsoap 2.8.124-2 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- debian trixie: gsoap 2.8.135-2 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- epel 10: gsoap-devel 2.8.135-1.el10_0 Β· GPL-2.0-or-later
- fedora 43: gsoap-devel 2.8.135-3.fc43 Β· GPL-2.0-or-later
- fedora 43: gsoap-devel 2.8.135-3.fc43 Β· GPL-2.0-or-later
- fedora 44: gsoap-devel 2.8.139-1.fc44 Β· GPL-2.0-or-later
- fedora 44: gsoap-devel 2.8.139-1.fc44 Β· GPL-2.0-or-later
- ubuntu noble: gsoap 2.8.132-2.1build2 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- ubuntu questing: gsoap 2.8.135-2
- ubuntu resolute: gsoap 2.8.139-1 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- ubuntu stonking: gsoap 2.8.142-2build1 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms