 |
CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
|
Go to the documentation of this file.
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);
126 #endif // CTKNETWORKCONNECTORQTSOAP_H
virtual ctkNetworkConnector * clone()
retrieve an instance of the object
QtSoapType * marshall(const QString name, const QVariant ¶meter)
Marshalling of the datatypes.
void createServer(const unsigned int port)
create the unique instance of the server.
void registerMethodsServer(mafRegisterMethodsMap registerMethodsList)
signal for the registration of the functions with parameters
void registerServerMethod(QString methodName, QList< QVariant::Type > types)
register methods on the server
void initializeForEventBus()
register all the signalsand slots
void setAction(const QString action)
set the action for the http transport
void setWSDL(const QString wsdlUrl)
set the url of the wsdl for querying the service.
void createClient(const QString hostName, const unsigned int port)
create the unique instance of the client.
void send(const QString methodName, ctkEventArgumentsList *argList)
Allow to send a network request.
QMap< QString, QList< QVariant::Type > > mafRegisterMethodsMap
map which represent list of function to be registered in the server, with parameters
void setPath(const QString path)
set the path, for example the end point or the wsdl
~ctkNetworkConnectorQtSoap()
object destructor.
ctkNetworkConnectorQtSoap()
object constructor.
void registerNamespace(QString prefix, QString namespaceURI)
register a further namespace which will be used in soap 1.1 for axis2 compatibility
QtSoapType * response()
return the response retrieved from the service
void startListen()
Start the server.