I have a doubt concerning the deployment of a Web Service in Ubuntu. It was implemented using gSOAP and it should be deployed, e.g. be accessible from websites (which are developed in e.g. ASP .NET).
I got confused with the whole CGI, Ubuntu, Apache topics. Until now I was able to implement a Web Service in ASP .NET and deploy it on Microsoft ISS. Other than that I can also access a gSOAP Web Service described in a WSDL, using ASP .NET
What are the steps to deploy my own Web Service? I have some more specific questions:
- Do I have to compile the WS as CGI?
- Do I have to install Apache in Ubuntu or the service is already enabled?
- In which particuar directory do I have to place the generated code from the WS compilation ("CGI" I guess)?
I am quite a newbie with regard to gSOAP and the whole "Web Service world", especially in Ubuntu...
Thank you very much in advance!
Do I have to compile the WS as CGI? Do I have to install Apache in Ubuntu or the service is already enabled?
No, gSoap doesn't need Apache, gSoap implements a standalone server. The gSoap documentation recommends not to use CGI because it's stateless and slow. Instead you should use the standalone server or the gSoap Apache modules included in the package. I use gSoap as standalone service with Debian. Therefore I did following (summarized):
apt-get install gSoap
header.h
)soapcpp2 -I /usr/include/gsoap header.h
header.h
Good luck
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With