KD SOAP 2.0.0
Loading...
Searching...
No Matches
KDSoapMessageWriter_p.h
1/****************************************************************************
2**
3** This file is part of the KD Soap library.
4**
5** SPDX-FileCopyrightText: 2010-2021 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDSoap OR LicenseRef-KDAB-KDSoap-US
8**
9** Licensees holding valid commercial KD Soap licenses may use this file in
10** accordance with the KD Soap Commercial License Agreement provided with
11** the Software.
12**
13** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14**
15****************************************************************************/
16#ifndef KDSOAPMESSAGEWRITER_P_H
17#define KDSOAPMESSAGEWRITER_P_H
18
19#include "KDSoapMessage.h"
20#include "KDSoapAuthentication.h"
21#include "KDSoapClientInterface.h"
22#include <QtCore/QXmlStreamWriter>
23#include <QtCore/QByteArray>
24#include <QtCore/QString>
25#include <QtCore/QMap>
26class KDSoapMessage;
27class KDSoapHeaders;
28class KDSoapNamespacePrefixes;
29class KDSoapValue;
30class KDSoapValueList;
31
36class KDSOAP_EXPORT KDSoapMessageWriter
37{
38public:
39 KDSoapMessageWriter();
40
41 void setVersion(KDSoap::SoapVersion version);
42 void setMessageNamespace(const QString &ns);
43
44 QByteArray messageToXml(const KDSoapMessage &message, const QString &method /*empty in document style*/,
45 const KDSoapHeaders &headers,
46 const QMap<QString, KDSoapMessage> &persistentHeaders,
47 const KDSoapAuthentication &authentication = KDSoapAuthentication()) const;
48
49private:
50 QString m_messageNamespace;
51 KDSoap::SoapVersion m_version;
52};
53
54#endif // KDSOAPMESSAGEWRITER_P_H
Definition: KDSoapAuthentication.h:37
Definition: KDSoapMessage.h:192
Definition: KDSoapMessage.h:35
Definition: KDSoapValue.h:66
Definition: KDSoapValue.h:327

© 2010-2021 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/
Generated on Thu Apr 2 2026 12:41:04 for KD SOAP by doxygen 1.9.6