22 #ifndef KDSOAPSERVEROBJECTINTERFACE_H
23 #define KDSOAPSERVEROBJECTINTERFACE_H
25 #include "KDSoapServerGlobal.h"
26 #include <KDSoapClient/KDSoapMessage.h>
27 #include "KDSoapDelayedResponseHandle.h"
29 #include <QtCore/QObject>
32 class KDSoapServerSocket;
104 virtual QIODevice* processFileRequest(
const QString& path, QByteArray &contentType);
124 virtual void processRequestWithPath(
const KDSoapMessage& request,
KDSoapMessage& response,
const QByteArray& soapAction,
const QString& path);
136 QByteArray soapAction()
const;
150 void setResponseNamespace(
const QString& ns);
163 void setFault(
const QString& faultCode,
const QString& faultString,
const QString& faultActor = QString(),
const QString& detail = QString());
168 bool hasFault()
const;
184 bool isDelayedResponse()
const;
195 friend class KDSoapServerSocket;
196 void setServerSocket(KDSoapServerSocket* serverSocket);
197 void setRequestHeaders(
const KDSoapHeaders& headers,
const QByteArray& soapAction);
199 QString responseNamespace()
const;
207 "com.kdab.KDSoap.ServerObjectInterface/1.0")
210 #endif // KDSOAPSERVEROBJECTINTERFACE_H