gSOAP WS-ReliableMessaging: XML Data Binding

Main Page | Class List | File List | Class Members | File Members | Related Pages
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> _wsrm__Sequence

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__Sequence(struct soap*, _wsrm__Sequence*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__Sequence(struct soap*, _wsrm__Sequence*);

- <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> _wsrm__AckRequested

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__AckRequested(struct soap*, _wsrm__AckRequested*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__AckRequested(struct soap*, _wsrm__AckRequested*);

- <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> _wsrm__SequenceFault

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__SequenceFault(struct soap*, _wsrm__SequenceFault*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__SequenceFault(struct soap*, _wsrm__SequenceFault*);

- <wsrm:CreateSequence> _wsrm__CreateSequence

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__CreateSequence(struct soap*, _wsrm__CreateSequence*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__CreateSequence(struct soap*, _wsrm__CreateSequence*);

- <wsrm:CreateSequenceResponse> _wsrm__CreateSequenceResponse

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__CreateSequenceResponse(struct soap*, _wsrm__CreateSequenceResponse*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__CreateSequenceResponse(struct soap*, _wsrm__CreateSequenceResponse*);

- <wsrm:CloseSequence> _wsrm__CloseSequence

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__CloseSequence(struct soap*, _wsrm__CloseSequence*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__CloseSequence(struct soap*, _wsrm__CloseSequence*);

- <wsrm:CloseSequenceResponse> _wsrm__CloseSequenceResponse

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__CloseSequenceResponse(struct soap*, _wsrm__CloseSequenceResponse*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__CloseSequenceResponse(struct soap*, _wsrm__CloseSequenceResponse*);

- <wsrm:TerminateSequence> _wsrm__TerminateSequence

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__TerminateSequence(struct soap*, _wsrm__TerminateSequence*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__TerminateSequence(struct soap*, _wsrm__TerminateSequence*);

- <wsrm:TerminateSequenceResponse> _wsrm__TerminateSequenceResponse

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__TerminateSequenceResponse(struct soap*, _wsrm__TerminateSequenceResponse*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__TerminateSequenceResponse(struct soap*, _wsrm__TerminateSequenceResponse*);

- <wsrm:AcksTo> _wsrm__AcksTo

          // Reader (returns SOAP_OK on success):
          soap_read__wsrm__AcksTo(struct soap*, _wsrm__AcksTo*);
          // Writer (returns SOAP_OK on success):
          soap_write__wsrm__AcksTo(struct soap*, _wsrm__AcksTo*);

- <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);