#include <KDSoapMessageAddressingProperties.h>
The KDSoapMessageAddressingProperties class is the abstraction of the WS-Addressing specification. This specification sets up information within the soap envelope header. This class is meant to be filled with the data you want to have in the soap header and associate to a given message using
- See also
- KDSoapMessage::setMessageAddressingProperties
-
https://www.w3.org/TR/ws-addr-core/#abstractmaps Important: This class does not ensure any kind of validation to the data being passed to it
- Since
- 1.5
◆ KDSoapAddressingPredefinedAddress
This enum contains all the predefined addresses defined by the ws addressing specification It is meant to be used with the predefinedAddress helper function to retrieve the uri as a QString
- See also
- predefinedAddressToString
◆ KDSoapAddressingNamespace
This enum contains all the namespaces that can be used to send out WS-Addressing messages. This allows the application to select the WS-Addressing revision to be used.
- Since
- 1.9
- See also
- setAddressingNamespace
◆ KDSoapMessageAddressingProperties() [1/2]
KDSoapMessageAddressingProperties::KDSoapMessageAddressingProperties |
( |
| ) |
|
◆ ~KDSoapMessageAddressingProperties()
KDSoapMessageAddressingProperties::~KDSoapMessageAddressingProperties |
( |
| ) |
|
◆ KDSoapMessageAddressingProperties() [2/2]
◆ operator=()
Copies the contents of the object given by other
.
◆ destination()
QString KDSoapMessageAddressingProperties::destination |
( |
| ) |
const |
Returns the destination address, it should match the EndpointReference given from WSDL
◆ setDestination()
void KDSoapMessageAddressingProperties::setDestination |
( |
const QString & |
destination | ) |
|
Sets the destination address, where the message will be sent to
◆ action()
QString KDSoapMessageAddressingProperties::action |
( |
| ) |
const |
Returns the action uri, which is the semantic of the message
◆ setAction()
void KDSoapMessageAddressingProperties::setAction |
( |
const QString & |
action | ) |
|
Sets the targeted action of the soap message
◆ sourceEndpoint()
◆ sourceEndpointAddress()
QString KDSoapMessageAddressingProperties::sourceEndpointAddress |
( |
| ) |
const |
◆ setSourceEndpoint()
◆ setSourceEndpointAddress()
void KDSoapMessageAddressingProperties::setSourceEndpointAddress |
( |
const QString & |
sourceEndpoint | ) |
|
Convenient method, sets the message sender address
◆ replyEndpoint()
◆ replyEndpointAddress()
QString KDSoapMessageAddressingProperties::replyEndpointAddress |
( |
| ) |
const |
Convenient method, returns the sender endpoint address
◆ setReplyEndpoint()
◆ setReplyEndpointAddress()
void KDSoapMessageAddressingProperties::setReplyEndpointAddress |
( |
const QString & |
replyEndpoint | ) |
|
Convenient method to set directly the reply endpoint address the server should reply to
◆ faultEndpoint()
Returns the fault endpoint, which contains the address the server should send the potential fault error
◆ faultEndpointAddress()
QString KDSoapMessageAddressingProperties::faultEndpointAddress |
( |
| ) |
const |
Convenient method that returns the fault endpoint address, which is the address the server should send the potential fault error
◆ setFaultEndpoint()
◆ setFaultEndpointAddress()
void KDSoapMessageAddressingProperties::setFaultEndpointAddress |
( |
const QString & |
faultEndpoint | ) |
|
Convenient method to set directly the fault endpoint address of the message
◆ messageID()
QString KDSoapMessageAddressingProperties::messageID |
( |
| ) |
const |
◆ setMessageID()
void KDSoapMessageAddressingProperties::setMessageID |
( |
const QString & |
id | ) |
|
◆ relationships()
QVector< KDSoapMessageRelationship::Relationship > KDSoapMessageAddressingProperties::relationships |
( |
| ) |
const |
◆ setRelationships()
void KDSoapMessageAddressingProperties::setRelationships |
( |
const QVector< KDSoapMessageRelationship::Relationship > & |
relationships | ) |
|
Set the relationships of the message, parameter is a QVector of Relationship, the class Relationship carry the relationship type and the message ID of the related message
- See also
- Relationship
◆ addRelationship()
void KDSoapMessageAddressingProperties::addRelationship |
( |
const KDSoapMessageRelationship::Relationship & |
relationship | ) |
|
Convenient method to add a single Relationship to the message
- See also
- Relationship
◆ referenceParameters()
KDSoapValueList KDSoapMessageAddressingProperties::referenceParameters |
( |
| ) |
const |
◆ setReferenceParameters()
void KDSoapMessageAddressingProperties::setReferenceParameters |
( |
const KDSoapValueList & |
values | ) |
|
Set the reference parameters list, since this value can be anything custom, it uses a KDSoapValueList
◆ addReferenceParameter()
void KDSoapMessageAddressingProperties::addReferenceParameter |
( |
const KDSoapValue & |
oneReferenceParameter | ) |
|
Add a reference parameter, if not null, to the referenceParameters list
◆ metadata()
Returns the metadata of the KDSoapMessageProperties
◆ setMetadata()
void KDSoapMessageAddressingProperties::setMetadata |
( |
const KDSoapValueList & |
metadataList | ) |
|
◆ addMetadata()
void KDSoapMessageAddressingProperties::addMetadata |
( |
const KDSoapValue & |
metadata | ) |
|
Add one metadata, if not null, to the list of metadata that will appear within soap header
◆ addressingNamespace()
Returns the selected WS-Addressing namespace
- Since
- 1.9
◆ setAddressingNamespace()
Sets the WS-Addressing namespace to be used for sending out messages.This allows the application to select the WS-Addressing revision to be used.
- Since
- 1.9
- See also
- KDSoapAddressingNamespace
◆ predefinedAddressToString()
Helper function that takes the address
enum and addressingNamespace
to provide the QString equivalent
◆ isWSAddressingNamespace()
bool KDSoapMessageAddressingProperties::isWSAddressingNamespace |
( |
const QString & |
namespaceUri | ) |
|
|
static |
Helper function that compares namespaceUri
with the known WS-Addressing namespaces
◆ addressingNamespaceToString()
Helper function that takes the addressingNamespace
enum to provide the QString equivalent
- Since
- 1.9
◆ writeMessageAddressingProperties()
void KDSoapMessageAddressingProperties::writeMessageAddressingProperties |
( |
KDSoapNamespacePrefixes & |
namespacePrefixes, |
|
|
QXmlStreamWriter & |
writer, |
|
|
const QString & |
messageNamespace, |
|
|
bool |
forceQualified |
|
) |
| const |
|
private |
Private method called to write the properties to the soap header, using QXmlStreamWriter
◆ readMessageAddressingProperty()
void KDSoapMessageAddressingProperties::readMessageAddressingProperty |
( |
const KDSoapValue & |
value | ) |
|
|
private |
Private method called to read a property from a soap header
The documentation for this class was generated from the following files:
- /home/build/Buildbot/kdsoap-stable-nightly-docs-linux64-ub20/source/src/KDSoapClient/KDSoapMessageAddressingProperties.h
- /home/build/Buildbot/kdsoap-stable-nightly-docs-linux64-ub20/source/src/KDSoapClient/KDSoapMessageAddressingProperties.cpp