12 #ifndef CTKNETWORKCONNECTORQTSOAP_H
13 #define CTKNETWORKCONNECTORQTSOAP_H
39 void createClient(
const QString hostName,
const unsigned int port);
42 void setWSDL(
const QString wsdlUrl);
45 void setAction(
const QString
action);
48 void setPath(
const QString path);
51 void registerNamespace(QString prefix, QString namespaceURI);
64 QtSoapType *
marshall(
const QString name,
const QVariant ¶meter);
67 QtSoapType *response();
85 void retrieveRemoteResponse();
91 QtSoapHttpTransport *m_Http;
92 QtSoapMessage m_Request;
97 QtSoapType *m_Response;
121 m_Request.useNamespace(prefix, namespaceURI);
QtSoapType * marshall(const QString name, const QVariant ¶meter)
Marshalling of the datatypes.
void setAction(const QString action)
set the action for the http transport
void createClient(const QString hostName, const unsigned int port)
create the unique instance of the client.
void setPath(const QString path)
set the path, for example the end point or the wsdl
QtSoapType * response()
return the response retrieved from the service
void startListen()
Start the server.
void registerMethodsServer(mafRegisterMethodsMap registerMethodsList)
signal for the registration of the functions with parameters
void createServer(const unsigned int port)
create the unique instance of the server.
virtual ctkNetworkConnector * clone()
retrieve an instance of the object
void registerNamespace(QString prefix, QString namespaceURI)
register a further namespace which will be used in soap 1.1 for axis2 compatibility
void initializeForEventBus()
register all the signalsand slots
~ctkNetworkConnectorQtSoap()
object destructor.
void send(const QString methodName, ctkEventArgumentsList *argList)
Allow to send a network request.
ctkNetworkConnectorQtSoap()
object constructor.
void setWSDL(const QString wsdlUrl)
set the url of the wsdl for querying the service.
void registerServerMethod(QString methodName, QList< QVariant::Type > types)
register methods on the server
QMap< QString, QList< QVariant::Type > > mafRegisterMethodsMap
map which represent list of function to be registered in the server, with parameters