Top-level root element "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":SecurityContextToken of XSD type "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":SecurityContextTokenType.
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:
- an int file descriptor, using soap->recvfd = fd
- a socket, using soap->socket = (int)...
- a C++ stream (istream, stringstream), using soap->is = (istream*)...
- a C string, using soap->is = (const char*)...
- any input, using the soap->frecv() callback
Data can be serialized and written to:
- an int file descriptor, using soap->sendfd = (int)...
- a socket, using soap->socket = (int)...
- a C++ stream (ostream, stringstream), using soap->os = (ostream*)...
- a C string, using soap->os = (const char**)...
- any output, using the soap->fsend() callback
The following options are available for (de)serialization control:
- soap->encodingStyle = NULL; to remove SOAP 1.1/1.2 encodingStyle
- soap_mode(soap, SOAP_XML_TREE); XML without id-ref (no cycles!)
- soap_mode(soap, SOAP_XML_GRAPH); XML with id-ref (including cycles)
- soap_set_namespaces(soap, struct Namespace *nsmap); to set xmlns bindings
Top-level root elements of schema "http://docs.oasis-open.org/ws-sx/ws-trust/200512/"
- <wst:RequestSecurityToken> _wst__RequestSecurityToken
Imported simpleType "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestTypeOpenEnum from type...
Definition wst.h:232
- <wst:TokenType> _wst__TokenType
soap_POST_send__wst__TokenType(
struct soap*,
const char *URL,
_wst__TokenType*);
char * _wst__TokenType
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":TokenType of XSD type xs:a...
Definition wst.h:855
- <wst:RequestType> _wst__RequestType
char * _wst__RequestType
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestType of XSD type "h...
Definition wst.h:858
- <wst:RequestSecurityTokenResponse> _wst__RequestSecurityTokenResponse
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestSecurityTokenResponseType is a complexType...
Definition wst.h:313
- <wst:RequestedSecurityToken> _wst__RequestedSecurityToken
Imported complexType "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestedSecurityTokenType f...
Definition wst.h:90
- <wst:BinarySecret> _wst__BinarySecret
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":BinarySecretType is a complexType with simpleCont...
Definition wst.h:807
- <wst:Claims> _wst__Claims
soap_GET__wst__Claims(
struct soap*,
const char *URL,
_wst__Claims*);
soap_PUT__wst__Claims(
struct soap*,
const char *URL,
_wst__Claims*);
soap_POST_send__wst__Claims(
struct soap*,
const char *URL,
_wst__Claims*);
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":ClaimsType is a complexType.
Definition wst.h:365
- <wst:Entropy> _wst__Entropy
soap_GET__wst__Entropy(
struct soap*,
const char *URL,
_wst__Entropy*);
soap_PUT__wst__Entropy(
struct soap*,
const char *URL,
_wst__Entropy*);
soap_POST_send__wst__Entropy(
struct soap*,
const char *URL,
_wst__Entropy*);
Imported complexType "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":EntropyType from typemap "WS...
Definition wst.h:102
- <wst:Lifetime> _wst__Lifetime
soap_GET__wst__Lifetime(
struct soap*,
const char *URL,
_wst__Lifetime*);
soap_PUT__wst__Lifetime(
struct soap*,
const char *URL,
_wst__Lifetime*);
soap_POST_send__wst__Lifetime(
struct soap*,
const char *URL,
_wst__Lifetime*);
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":LifetimeType is a complexType.
Definition wst.h:391
- <wst:RequestSecurityTokenCollection> _wst__RequestSecurityTokenCollection
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestSecurityTokenCollectionType is a complexTy...
Definition wst.h:411
- <wst:RequestSecurityTokenResponseCollection> _wst__RequestSecurityTokenResponseCollection
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestSecurityTokenResponseCollectionType is a c...
Definition wst.h:431
- <wst:ComputedKey> _wst__ComputedKey
char * _wst__ComputedKey
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":ComputedKey of XSD type "h...
Definition wst.h:885
- <wst:RequestedAttachedReference> _wst__RequestedAttachedReference
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestedReferenceType is a complexType.
Definition wst.h:453
- <wst:RequestedUnattachedReference> _wst__RequestedUnattachedReference
- <wst:RequestedProofToken> _wst__RequestedProofToken
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestedProofTokenType is a complexType.
Definition wst.h:468
- <wst:IssuedTokens> _wst__IssuedTokens
- <wst:RenewTarget> _wst__RenewTarget
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RenewTargetType is a complexType.
Definition wst.h:489
- <wst:AllowPostdating> _wst__AllowPostdating
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":AllowPostdatingType is a complexType.
Definition wst.h:508
- <wst:Renewing> _wst__Renewing
soap_GET__wst__Renewing(
struct soap*,
const char *URL,
_wst__Renewing*);
soap_PUT__wst__Renewing(
struct soap*,
const char *URL,
_wst__Renewing*);
soap_POST_send__wst__Renewing(
struct soap*,
const char *URL,
_wst__Renewing*);
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RenewingType is a complexType.
Definition wst.h:521
- <wst:CancelTarget> _wst__CancelTarget
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":CancelTargetType is a complexType.
Definition wst.h:538
- <wst:RequestedTokenCancelled> _wst__RequestedTokenCancelled
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestedTokenCancelledType is a complexType.
Definition wst.h:559
- <wst:ValidateTarget> _wst__ValidateTarget
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":ValidateTargetType is a complexType.
Definition wst.h:572
- <wst:Status> _wst__Status
soap_GET__wst__Status(
struct soap*,
const char *URL,
_wst__Status*);
soap_PUT__wst__Status(
struct soap*,
const char *URL,
_wst__Status*);
soap_POST_send__wst__Status(
struct soap*,
const char *URL,
_wst__Status*);
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":StatusType is a complexType.
Definition wst.h:591
- <wst:SignChallenge> _wst__SignChallenge
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":SignChallengeType is a complexType.
Definition wst.h:608
- <wst:SignChallengeResponse> _wst__SignChallengeResponse
- <wst:Challenge> _wst__Challenge
soap_POST_send__wst__Challenge(
struct soap*,
const char *URL,
_wst__Challenge*);
char * _wst__Challenge
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":Challenge of XSD type xs:s...
Definition wst.h:927
- <wst:BinaryExchange> _wst__BinaryExchange
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":BinaryExchangeType is a complexType with simpleCo...
Definition wst.h:829
- <wst:RequestKET> _wst__RequestKET
soap_POST_send__wst__RequestKET(
struct soap*,
const char *URL,
_wst__RequestKET*);
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":RequestKETType is a complexType.
Definition wst.h:634
- <wst:KeyExchangeToken> _wst__KeyExchangeToken
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":KeyExchangeTokenType is a complexType.
Definition wst.h:647
- <wst:Authenticator> _wst__Authenticator
Imported complexType "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":AuthenticatorType from typem...
Definition wst.h:139
- <wst:CombinedHash> _wst__CombinedHash
char * _wst__CombinedHash
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":CombinedHash of XSD type x...
Definition wst.h:942
- <wst:OnBehalfOf> _wst__OnBehalfOf
soap_POST_send__wst__OnBehalfOf(
struct soap*,
const char *URL,
_wst__OnBehalfOf*);
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":OnBehalfOfType is a complexType.
Definition wst.h:666
- <wst:Issuer> _wst__Issuer
soap_GET__wst__Issuer(
struct soap*,
const char *URL,
_wst__Issuer*);
soap_PUT__wst__Issuer(
struct soap*,
const char *URL,
_wst__Issuer*);
soap_POST_send__wst__Issuer(
struct soap*,
const char *URL,
_wst__Issuer*);
wsa5__EndpointReferenceType _wst__Issuer
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":Issuer of XSD type "http:/...
Definition wst.h:948
- <wst:AuthenticationType> _wst__AuthenticationType
char * _wst__AuthenticationType
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":AuthenticationType of XSD ...
Definition wst.h:951
- <wst:KeyType> _wst__KeyType
soap_GET__wst__KeyType(
struct soap*,
const char *URL,
_wst__KeyType*);
soap_PUT__wst__KeyType(
struct soap*,
const char *URL,
_wst__KeyType*);
soap_POST_send__wst__KeyType(
struct soap*,
const char *URL,
_wst__KeyType*);
char * _wst__KeyType
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":KeyType of XSD type "http:...
Definition wst.h:954
- <wst:KeySize> _wst__KeySize
soap_GET__wst__KeySize(
struct soap*,
const char *URL,
_wst__KeySize*);
soap_PUT__wst__KeySize(
struct soap*,
const char *URL,
_wst__KeySize*);
soap_POST_send__wst__KeySize(
struct soap*,
const char *URL,
_wst__KeySize*);
unsigned int _wst__KeySize
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":KeySize of XSD type xs:uns...
Definition wst.h:957
- <wst:SignatureAlgorithm> _wst__SignatureAlgorithm
char * _wst__SignatureAlgorithm
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":SignatureAlgorithm of XSD ...
Definition wst.h:960
- <wst:EncryptionAlgorithm> _wst__EncryptionAlgorithm
char * _wst__EncryptionAlgorithm
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":EncryptionAlgorithm of XSD...
Definition wst.h:963
- <wst:CanonicalizationAlgorithm> _wst__CanonicalizationAlgorithm
char * _wst__CanonicalizationAlgorithm
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":CanonicalizationAlgorithm ...
Definition wst.h:966
- <wst:ComputedKeyAlgorithm> _wst__ComputedKeyAlgorithm
char * _wst__ComputedKeyAlgorithm
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":ComputedKeyAlgorithm of XS...
Definition wst.h:969
- <wst:Encryption> _wst__Encryption
soap_POST_send__wst__Encryption(
struct soap*,
const char *URL,
_wst__Encryption*);
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":EncryptionType is a complexType.
Definition wst.h:685
- <wst:ProofEncryption> _wst__ProofEncryption
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":ProofEncryptionType is a complexType.
Definition wst.h:704
- <wst:UseKey> _wst__UseKey
soap_GET__wst__UseKey(
struct soap*,
const char *URL,
_wst__UseKey*);
soap_PUT__wst__UseKey(
struct soap*,
const char *URL,
_wst__UseKey*);
soap_POST_send__wst__UseKey(
struct soap*,
const char *URL,
_wst__UseKey*);
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":UseKeyType is a complexType.
Definition wst.h:723
- <wst:KeyWrapAlgorithm> _wst__KeyWrapAlgorithm
char * _wst__KeyWrapAlgorithm
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":KeyWrapAlgorithm of XSD ty...
Definition wst.h:981
- <wst:SignWith> _wst__SignWith
soap_GET__wst__SignWith(
struct soap*,
const char *URL,
_wst__SignWith*);
soap_PUT__wst__SignWith(
struct soap*,
const char *URL,
_wst__SignWith*);
soap_POST_send__wst__SignWith(
struct soap*,
const char *URL,
_wst__SignWith*);
char * _wst__SignWith
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":SignWith of XSD type xs:an...
Definition wst.h:984
- <wst:EncryptWith> _wst__EncryptWith
char * _wst__EncryptWith
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":EncryptWith of XSD type xs...
Definition wst.h:987
- <wst:DelegateTo> _wst__DelegateTo
soap_POST_send__wst__DelegateTo(
struct soap*,
const char *URL,
_wst__DelegateTo*);
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":DelegateToType is a complexType.
Definition wst.h:744
- <wst:Forwardable> _wst__Forwardable
char * _wst__Forwardable
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":Forwardable of XSD type xs...
Definition wst.h:993
- <wst:Delegatable> _wst__Delegatable
char * _wst__Delegatable
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-trust/200512/":Delegatable of XSD type xs...
Definition wst.h:996
- <wst:Participants> _wst__Participants
"http://docs.oasis-open.org/ws-sx/ws-trust/200512/":ParticipantsType is a complexType.
Definition wst.h:763
Top-level root element "http://www.w3.org/2001/04/xmlenc#":CipherData of type "http://www.w3.org/2001/04/xmlenc#":CipherDataType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://www.w3.org/2001/04/xmlenc#":CipherReference of type "http://www.w3.org/2001/04/xmlenc#":CipherReferenceType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://www.w3.org/2001/04/xmlenc#":EncryptedData of type "http://www.w3.org/2001/04/xmlenc#":EncryptedDataType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://www.w3.org/2001/04/xmlenc#":EncryptedKey of type "http://www.w3.org/2001/04/xmlenc#":EncryptedKeyType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://www.w3.org/2001/04/xmlenc#":AgreementMethod of type "http://www.w3.org/2001/04/xmlenc#":AgreementMethodType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://www.w3.org/2001/04/xmlenc#":EncryptionProperties of type "http://www.w3.org/2001/04/xmlenc#":EncryptionPropertiesType. Note: use wsdl2h option -g to auto-generate a top-level root element declaration and processing code. Top-level root element "http://www.w3.org/2001/04/xmlenc#":EncryptionProperty of type "http://www.w3.org/2001/04/xmlenc#":EncryptionPropertyType. 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 descriptor, 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 descriptor, 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://www.w3.org/2001/04/xmlenc#"
- <xenc:CipherData> (use wsdl2h option -g to auto-generate)
- <xenc:CipherReference> (use wsdl2h option -g to auto-generate)
- <xenc:EncryptedData> (use wsdl2h option -g to auto-generate)
- <xenc:EncryptedKey> (use wsdl2h option -g to auto-generate)
- <xenc:AgreementMethod> (use wsdl2h option -g to auto-generate)
- <xenc:ReferenceList> _xenc__ReferenceList
Top-level root element "http://www.w3.org/2001/04/xmlenc#":ReferenceList.
Definition xenc.h:249
- <xenc:EncryptionProperties> (use wsdl2h option -g to auto-generate)
- <xenc:EncryptionProperty> (use wsdl2h option -g to auto-generate)
- 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-sx/ws-secureconversation/200512":Identifier of XSD type xs:anyURI.
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":Instance of XSD type xs:string.
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":DerivedKeyToken of XSD type "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":DerivedKeyTokenType.
- 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-sx/ws-secureconversation/200512":Name of XSD type xs:anyURI.
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":Label of XSD type xs:string.
Top-level root element "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":Nonce of XSD type xs:base64Binary.
Top-level attribute "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":Instance of simpleType xs:string.
Top-level attribute "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":Nonce of simpleType xs:base64Binary.
Top-level attribute "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512":Length of simpleType xs:unsignedLong.
- Note
- Use wsdl2h option -g to auto-generate a top-level attribute 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.
Data can be read in XML and deserialized from:
- a file descriptor, using soap->recvfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->is = ...
- a buffer, using the soap->frecv() callback
Data can be serialized in XML and written to:
- a file descriptor, using soap->sendfd = fd
- a socket, using soap->socket = ...
- a C++ stream, using soap->os = ...
- a buffer, using the soap->fsend() callback
The following options are available for (de)serialization control:
- soap->encodingStyle = NULL; to remove SOAP 1.1/1.2 encodingStyle
- soap_mode(soap, SOAP_XML_TREE); XML without id-ref (no cycles!)
- soap_mode(soap, SOAP_XML_GRAPH); XML with id-ref (including cycles)
- soap_set_namespaces(soap, struct Namespace *nsmap); to set xmlns bindings
Top-level root elements of schema "http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512"
- <SecurityContextToken> (use wsdl2h option -g to auto-generate)
- <Identifier> _wsc__Identifier
soap_read__wsc__Identifier(struct soap*, char*);
soap_write__wsc__Identifier(struct soap*, char*);
- <Instance> _wsc__Instance
soap_read__wsc__Instance(struct soap*, char*);
soap_write__wsc__Instance(struct soap*, char*);
- <DerivedKeyToken> (use wsdl2h option -g to auto-generate)
- <Name> _wsc__Name
soap_read__wsc__Name(struct soap*, char*);
soap_write__wsc__Name(struct soap*, char*);
- <Label> _wsc__Label
soap_read__wsc__Label(struct soap*, char*);
soap_write__wsc__Label(struct soap*, char*);
- <Nonce> _wsc__Nonce
soap_read__wsc__Nonce(struct soap*, char*);
soap_write__wsc__Nonce(struct soap*, char*);
SOAP/XML services use data bindings that are contractually bound by WSDLs and are 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.
- Note
- 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:
- an int file descriptor, using soap->recvfd = fd
- a socket, using soap->socket = (int)...
- a C++ stream (istream, stringstream), using soap->is = (istream*)...
- a C string, using soap->is = (const char*)...
- any input, using the soap->frecv() callback
-
Data can be serialized and written to:
- an int file descriptor, using soap->sendfd = (int)...
- a socket, using soap->socket = (int)...
- a C++ stream (ostream, stringstream), using soap->os = (ostream*)...
- a C string, using soap->os = (const char**)...
- any output, using the soap->fsend() callback
-
The following options are available for (de)serialization control:
- soap->encodingStyle = NULL; to remove SOAP 1.1/1.2 encodingStyle
- soap_set_mode(soap, SOAP_XML_TREE); XML without id-ref (no cycles!)
- soap_set_mode(soap, SOAP_XML_GRAPH); XML with id-ref (including cycles)
- soap_set_namespaces(soap, struct Namespace *nsmap); to set xmlns bindings
SOAP/XML services use data bindings that are contractually bound by WSDLs and are 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.
- Note
- 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:
- an int file descriptor, using soap->recvfd = fd
- a socket, using soap->socket = (int)...
- a C++ stream (istream, stringstream), using soap->is = (istream*)...
- a C string, using soap->is = (const char*)...
- any input, using the soap->frecv() callback
-
Data can be serialized and written to:
- an int file descriptor, using soap->sendfd = (int)...
- a socket, using soap->socket = (int)...
- a C++ stream (ostream, stringstream), using soap->os = (ostream*)...
- a C string, using soap->os = (const char**)...
- any output, using the soap->fsend() callback
-
The following options are available for (de)serialization control:
- soap->encodingStyle = NULL; to remove SOAP 1.1/1.2 encodingStyle
- soap_set_mode(soap, SOAP_XML_TREE); XML without id-ref (no cycles!)
- soap_set_mode(soap, SOAP_XML_GRAPH); XML with id-ref (including cycles)
- soap_set_namespaces(soap, struct Namespace *nsmap); to set xmlns bindings