im implementing c++ webservices. i've installed gsoap as i've found that its popular toolkit for c++ webservices. however, im a little confuse in using gsoap.
basically i've got existing c++ codes and i want to use it as webservices. i read the tutorial from gsoap and its instructions are as follows:
1) use the following command and generate the header file with a wsdl file (im using the sample proj "hello" from gsoap):
wsdl2h -o -s h.h h.wsdl
2) with the hello.h, i run the following command to generate a lists of files as follows:
soapcpp2 hello.h
this generate a list of files: RECEV.log, Service.hello.req.xml....soapC.cpp, soapClient.cpp, soapClientLib.cpp, soapH.h,soapServer.cpp,soapServerLib.cpp,soapStub.h,TEST.log
it seems that i have to first generate a c++ header file from a wsdl file. but what if i have existing projects with existing .h and .cpp files. how can i turn them into a webservice?