KD SOAP API Documentation 2.2
|
#include <KDSoapMessageWriter_p.h>
Public Member Functions | |
KDSoapMessageWriter () | |
QByteArray | messageToXml (const KDSoapMessage &message, const QString &method, const KDSoapHeaders &headers, const QMap< QString, KDSoapMessage > &persistentHeaders, const KDSoapAuthentication &authentication=KDSoapAuthentication()) const |
void | setMessageNamespace (const QString &ns) |
void | setVersion (KDSoap::SoapVersion version) |
Definition at line 30 of file KDSoapMessageWriter_p.h.
KDSoapMessageWriter::KDSoapMessageWriter | ( | ) |
Definition at line 18 of file KDSoapMessageWriter.cpp.
QByteArray KDSoapMessageWriter::messageToXml | ( | const KDSoapMessage & | message, |
const QString & | method, | ||
const KDSoapHeaders & | headers, | ||
const QMap< QString, KDSoapMessage > & | persistentHeaders, | ||
const KDSoapAuthentication & | authentication = KDSoapAuthentication() |
||
) | const |
Definition at line 33 of file KDSoapMessageWriter.cpp.
References KDSoapMessageAddressingProperties::addressingNamespace(), QString::fromLatin1(), KDSoapMessage::hasMessageAddressingProperties(), QMap::insert(), QList::isEmpty(), QMap::isEmpty(), QString::isEmpty(), KDSoapMessage::isFault(), KDSoapValue::isNil(), KDSoapMessage::messageAddressingProperties(), KDSoapValue::name(), KDSoapValue::namespaceUri(), KDSoap::SOAP1_1, KDSoap::SOAP1_2, KDSoapNamespaceManager::soapEncoding(), KDSoapNamespaceManager::soapEncoding200305(), KDSoapNamespaceManager::soapEnvelope(), KDSoapNamespaceManager::soapEnvelope200305(), KDSoapMessage::use(), QXmlStreamWriter::writeEndDocument(), QXmlStreamWriter::writeEndElement(), KDSoapNamespacePrefixes::writeNamespace(), KDSoapNamespacePrefixes::writeStandardNamespaces(), QXmlStreamWriter::writeStartDocument(), and QXmlStreamWriter::writeStartElement().
Referenced by KDSoapClientInterfacePrivate::prepareRequestBuffer().
void KDSoapMessageWriter::setMessageNamespace | ( | const QString & | ns | ) |
Definition at line 28 of file KDSoapMessageWriter.cpp.
Referenced by KDSoapClientInterfacePrivate::prepareRequestBuffer().
void KDSoapMessageWriter::setVersion | ( | KDSoap::SoapVersion | version | ) |
Definition at line 23 of file KDSoapMessageWriter.cpp.
Referenced by KDSoapClientInterfacePrivate::prepareRequestBuffer(), and KDSoapUdpClient::sendMessage().