Genivia Home Documentation
Notes

updated Wed Jan 9 2019 by Robert van Engelen
 
Notes
Note
HINTS:
  • Run soapcpp2 on 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.
  • Use wsdl2h -c and -s to generate pure C code or C++ code without STL.
  • Use '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 -R to generate REST operations.
  • Use wsdl2h -Onum to optimize output by removing unused schema components.
  • 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
  • Use wsdl2h -d to enable DOM support for xsd:anyType.
  • Use wsdl2h -g to auto-generate readers and writers for root elements.
  • Use wsdl2h -b to auto-generate bi-directional operations (duplex ops).
  • Use wsdl2h -U to map XML names to C++ Unicode identifiers instead of _xNNNN.
  • Use wsdl2h -u to disable the generation of unions.
  • 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 soapStub.h FILE CONTAINS THIS CONTENT WITHOUT ANNOTATIONS.