Genivia Home Documentation
XML Data Binding

updated Thu Mar 21 2024 by Robert van Engelen
 
XML Data Binding

SOAP/XML services use data bindings contractually bound by WSDL and auto- generated by wsdl2h and soapcpp2 (see Service Bindings). Plain data bindings are adopted from XML schemas as part of the WSDL types section or when running wsdl2h on a set of schemas to produce non-SOAP-based XML data bindings.

The following readers and writers are C/C++ data type (de)serializers auto- generated by wsdl2h and soapcpp2. Run soapcpp2 on this file to generate the (de)serialization code, which is stored in soapC.c[pp]. Include "soapH.h" in your code to import these data type and function declarations. Only use the soapcpp2-generated files in your project build. Do not include the wsdl2h- generated .h file in your code.

Data can be read and deserialized from:

Data can be serialized and written to:

The following options are available for (de)serialization control:

Top-level root elements of schema "http://docs.oasis-open.org/ws-dd/ns/discovery/2009/01"