gsoap中如果么有输入参数,可以用如下方法定义:
struct ns3__SOAPService
{
public:
int ID;
char *name;
char *owner;
char *description;
char *homepageURL;
char *endpoint;
char *SOAPAction;
char *methodNamespaceURI;
char *serviceStatus;
char *methodName;
char *dateCreated;
char *downloadURL;
char *wsdlURL;
char *instructions;
char *contactEmail;
char *serverImplementation;
};
struct ArrayOfSOAPService {struct ns3__SOAPService *__ptr; int __size;};
int ns__getAllSOAPServices(void *_, struct ArrayOfSOAPService &_return);
本文详细解析了 GSOAP 中如何定义没有输入参数的函数,包括具体的数据结构和函数原型,对于理解 GSOAP 的使用具有重要意义。
1833

被折叠的 条评论
为什么被折叠?



