gsoap with its wsdl2h and soapcpp2 tools provided me with a soapStub.h file containing the following:
class SOAP_CMAC ns2__SOAPKunden { public: std::string *adresszusatz;
I start with a small application that uses a class to populate objects with data from an informix database.
But for compilation, I have to leave all the virtual things successfully - I found a lot of messages about this error and the use of virtual members in subclasses - otherwise I get
main.o: In function `ns2__SOAPKunden::ns2__SOAPKunden()': main.cpp:(.text._ZN15ns2__SOAPKundenC1Ev[ns2__SOAPKunden::ns2__SOAPKunden()]+0xf): undefined reference to `vtable for ns2__SOAPKunden' main.o: In function `ns2__SOAPKunden::~ns2__SOAPKunden()': main.cpp:(.text._ZN15ns2__SOAPKundenD1Ev[ns2__SOAPKunden::~ns2__SOAPKunden()]+0x13): undefined reference to `vtable for ns2__SOAPKunden' collect2: ld returned 1 exit status
I admit that after several years of writing scripts, it is very difficult for me to understand C ++ code ... I want to ask for advice on what to try next. My class is not a derived class, for example, which makes me think.
c ++ virtual vtable gsoap
groovehunter
source share