Genivia - XML Data Binding

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

- Main Page
- Related Pages
- Classes
- Files

XML Data Binding

Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":Identifier

Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":Address Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":Expires Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":Sequence of type "http://docs.oasis-open.org/ws-rx/wsrm/200702":SequenceType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":AckRequested of type "http://docs.oasis-open.org/ws-rx/wsrm/200702":AckRequestedType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":SequenceFault of type "http://docs.oasis-open.org/ws-rx/wsrm/200702":SequenceFaultType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":CreateSequence of type "http://docs.oasis-open.org/ws-rx/wsrm/200702":CreateSequenceType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":CreateSequenceResponse of type "http://docs.oasis-open.org/ws-rx/wsrm/200702":CreateSequenceResponseType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":CloseSequence of type "http://docs.oasis-open.org/ws-rx/wsrm/200702":CloseSequenceType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":CloseSequenceResponse of type "http://docs.oasis-open.org/ws-rx/wsrm/200702":CloseSequenceResponseType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":TerminateSequence of type "http://docs.oasis-open.org/ws-rx/wsrm/200702":TerminateSequenceType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":TerminateSequenceResponse of type "http://docs.oasis-open.org/ws-rx/wsrm/200702":TerminateSequenceResponseType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://docs.oasis-open.org/ws-rx/wsrm/200702":AcksTo of type "http://www.w3.org/2005/08/addressing":EndpointReferenceType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code.

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.

XML content can be retrieved from:

- a FILE* fd, using soap->recvfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->is = ...
- a buffer, using the soap->frecv() callback

XML content can be stored to:

- a FILE* fd, using soap->sendfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->os = ...
- a buffer, using the soap->fsend() callback

# Top-level root elements of schema "http://docs.oasis-open.org/ws-rx/wsrm/200702"

- <wsrm:Sequence> (use wsdl2h option -g to auto-generate)
- <wsrm:SequenceAcknowledgement> _wsrm__SequenceAcknowledgement
  // Reader (returns SOAP_OK on success):
  soap_read__wsrm__SequenceAcknowledgement(struct soap*, struct _wsrm__SequenceAcknowledgement*);
  // Writer (returns SOAP_OK on success):
  soap_write__wsrm__SequenceAcknowledgement(struct soap*, struct _wsrm__SequenceAcknowledgement*);
- <wsrm:AckRequested> (use wsdl2h option -g to auto-generate)
- <wsrm:Identifier> _wsrm__Identifier
  // Reader (returns SOAP_OK on success):
  soap_read__wsrm__Identifier(struct soap*, char*);
  // Writer (returns SOAP_OK on success):
  soap_write__wsrm__Identifier(struct soap*, char*);
- <wsrm:Address> _wsrm__Address
  // Reader (returns SOAP_OK on success):
  soap_read__wsrm__Address(struct soap*, char*);
  // Writer (returns SOAP_OK on success):
  soap_write__wsrm__Address(struct soap*, char*);
- <wsrm:SequenceFault> (use wsdl2h option -g to auto-generate)
- <wsrm:CreateSequence> (use wsdl2h option -g to auto-generate)
- <wsrm:CreateSequenceResponse> (use wsdl2h option -g to auto-generate)
- <wsrm:CloseSequence> (use wsdl2h option -g to auto-generate)
- <wsrm:CloseSequenceResponse> (use wsdl2h option -g to auto-generate)
- <wsrm:TerminateSequence> (use wsdl2h option -g to auto-generate)
- <wsrm:TerminateSequenceResponse> (use wsdl2h option -g to auto-generate)
- <wsrm:AcksTo> (use wsdl2h option -g to auto-generate)
- <wsrm:Expires> _wsrm__Expires
  // Reader (returns SOAP_OK on success):
  soap_read__wsrm__Expires(struct soap*, xsd__duration*);
  // Writer (returns SOAP_OK on success):
  soap_write__wsrm__Expires(struct soap*, xsd__duration*);
- <wsrm:UsesSequenceSTR> _wsrm__UsesSequenceSTR
  // Reader (returns SOAP_OK on success):
  soap_read__wsrm__UsesSequenceSTR(struct soap*, struct _wsrm__UsesSequenceSTR*);
  // Writer (returns SOAP_OK on success):
  soap_write__wsrm__UsesSequenceSTR(struct soap*, struct _wsrm__UsesSequenceSTR*);
- <wsrm:UsesSequenceSSL> _wsrm__UsesSequenceSSL
  // Reader (returns SOAP_OK on success):
  soap_read__wsrm__UsesSequenceSSL(struct soap*, struct _wsrm__UsesSequenceSSL*);
  // Writer (returns SOAP_OK on success):
  soap_write__wsrm__UsesSequenceSSL(struct soap*, struct _wsrm__UsesSequenceSSL*);
- <wsrm:UnsupportedElement> _wsrm__UnsupportedElement
  // Reader (returns SOAP_OK on success):
  soap_read__wsrm__UnsupportedElement(struct soap*, _QName);
  // Writer (returns SOAP_OK on success):
  soap_write__wsrm__UnsupportedElement(struct soap*, _QName);