
我对整个CGI,Ubuntu,Apache主题感到困惑.到目前为止,我能够在ASP .NET中实现Web服务并将其部署在Microsoft ISS上.除此之外,我还可以使用ASP .NET访问WSDL中描述的gSOAP Web服务
部署我自己的Web服务有哪些步骤?我有一些更具体的问题:
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)?
关于gSOAP和整个“Web服务世界”,我是一个新手,特别是在Ubuntu ……
非常感谢你提前!
解决方法Do I have to compile the WS as CGI?
Do I have to install Apache in Ubuntu or the service is already enabled?
不,gSoap不需要Apache,gSoap实现了standalone server. gSoap documentation建议不要使用CGI,因为它是无状态且缓慢的.相反,您应该使用独立服务器或包中包含的gSoap Apache模块.我使用gSoap作为Debian的独立服务.因此,我做了以下(总结):
>安装gSoap:apt-get install gSoap
>手动创建头文件(例如header.h)
>使用soapcpp2 -I /usr/include / gsoap header.h创建客户端和服务器文件
>实现了header.h中声明的函数
祝好运
总结以上是内存溢出为你收集整理的web-services – 如何在Ubuntu中部署gSOAP Web服务?全部内容,希望文章能够帮你解决web-services – 如何在Ubuntu中部署gSOAP Web服务?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)