22 #ifndef KDSOAPCLIENTINTERFACE_P_H
23 #define KDSOAPCLIENTINTERFACE_P_H
25 #include <QtNetwork/QSslConfiguration>
26 #include <QtNetwork/QNetworkAccessManager>
27 #include <QtNetwork/QNetworkCookieJar>
28 #include <QtCore/QXmlStreamWriter>
30 #include "KDSoapClientInterface.h"
31 #include "KDSoapClientThread_p.h"
32 #include "KDSoapAuthentication.h"
37 class KDSoapNamespacePrefixes;
39 class KDSoapClientInterfacePrivate :
public QObject
43 KDSoapClientInterfacePrivate();
44 ~KDSoapClientInterfacePrivate();
48 QNetworkAccessManager m_accessManager;
50 QString m_messageNamespace;
51 KDSoapClientThread m_thread;
53 QMap<QString, KDSoapMessage> m_persistentHeaders;
56 bool m_ignoreSslErrors;
59 QSslConfiguration m_sslConfiguration;
63 QNetworkRequest prepareRequest(
const QString &method,
const QString& action);
65 void writeElementContents(KDSoapNamespacePrefixes& namespacePrefixes, QXmlStreamWriter& writer,
const KDSoapValue& element,
KDSoapMessage::Use use);
67 void writeAttributes(QXmlStreamWriter& writer,
const QList<KDSoapValue>& attributes);
68 void setupReply(QNetworkReply* reply);
71 void _kd_slotAuthenticationRequired(QNetworkReply* reply, QAuthenticator* authenticator);
74 #endif // KDSOAPCLIENTINTERFACE_P_H