Genivia Home Documentation
Notes

updated Tue Nov 23 2021 by Robert van Engelen
 
Notes
Note
HINTS:
  • Run soapcpp2 on ../../../gsoap/samples/databinding/address.h to generate the SOAP/XML processing logic: Use soapcpp2 -I to specify paths for #import Use soapcpp2 -j to generate improved proxy and server classes. Use soapcpp2 -r to generate a report.
  • Edit 'typemap.dat' to control namespace bindings and type mappings: It is strongly recommended to customize the names of the namespace prefixes generated by wsdl2h. To do so, modify the prefix bindings in the Namespaces section below and add the modified lines to 'typemap.dat' to rerun wsdl2h.
  • Run Doxygen (www.doxygen.org) on this file to generate documentation.
  • Use wsdl2h -c to generate pure C code.
  • Use wsdl2h -R to include the REST operations defined by the WSDLs.
  • Use wsdl2h -O3 or -O4 to optimize by removing unused schema components.
  • Use wsdl2h -d to enable DOM support for xsd:any and xsd:anyType.
  • Use wsdl2h -F to simulate struct-type derivation in C (also works in C++).
  • Use wsdl2h -f to generate flat C++ class hierarchy, removes type derivation.
  • Use wsdl2h -g to generate top-level root elements with readers and writers.
  • Use wsdl2h -U to map XML names to C++ Unicode identifiers instead of _xNNNN.
  • Use wsdl2h -u to disable the generation of unions.
  • Use wsdl2h -L to remove this
and all other
comments.
  • Use wsdl2h -nname to use name as the base namespace prefix instead of 'ns'.
  • Use wsdl2h -Nname for service prefix and produce multiple service bindings
  • Struct/class members serialized as XML attributes are annotated with a '@'.
  • Struct/class members that have a special role are annotated with a '$'.
Warning
DO NOT INCLUDE THIS ANNOTATED FILE DIRECTLY IN YOUR PROJECT SOURCE CODE. USE THE FILES GENERATED BY soapcpp2 FOR YOUR PROJECT'S SOURCE CODE: THE GENERATED soapStub.h FILE CONTAINS THIS CONTENT WITHOUT ANNOTATIONS.