KD SOAP
2.0.0
src
KDSoapClient
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>
26
class
KDSoapMessage
;
27
class
KDSoapHeaders
;
28
class
KDSoapNamespacePrefixes;
29
class
KDSoapValue
;
30
class
KDSoapValueList
;
31
36
class
KDSOAP_EXPORT KDSoapMessageWriter
37
{
38
public
:
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
49
private
:
50
QString
m_messageNamespace;
51
KDSoap::SoapVersion m_version;
52
};
53
54
#endif // KDSOAPMESSAGEWRITER_P_H
KDSoapHeaders
Definition:
KDSoapMessage.h:192
KDSoapAuthentication
Definition:
KDSoapAuthentication.h:37
KDSoapValue
Definition:
KDSoapValue.h:66
KDSoapMessage
Definition:
KDSoapMessage.h:35
QString
KDSoapValueList
Definition:
KDSoapValue.h:327
QMap< QString, KDSoapMessage >
QByteArray
© 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 Wed Jun 30 2021 18:19:27 for KD SOAP by doxygen 1.8.20