I want to host web services in an existing C/C++ application. What is the best solution?
I would like a solution similar to what JAX-WS does for Java. Specifically revolving around SOAP requests.
Any personal experience with available solutions?
I want to host web services in an existing C/C++ application. What is the best solution?
I would like a solution similar to what JAX-WS does for Java. Specifically revolving around SOAP requests.
Any personal experience with available solutions?
As far as I understand the most popular free solution is gSOAP http://gsoap2.sourceforge.net/
You should check out Apache Axis from Apache. It has a very nice SOAP implementation & will definitely qualify for one of the best.
It is free and opensource.
Also, have a look at Axis2/C, it is the C version of the Axis2 architecture, which is way more flexible than Axis1.
I tested Pion at http://www.pion.org/. Deriving from its class pion::net::WebService
and create HTTP responses is pretty easy.
I think your best option is to use the WSO2 Web Services Framework for C++ because:
See more features here.
There are factual comparison results between WSO's WSF/C++ and others Web services implementations with superior results in favor of WSF (2-3 times better performance).
WSO2 team and community is very active and the technologies provided by them are highly integrated each other and with 3rds via Open Standards. Documentation and examples are vastly.
There is no good alround solution out there for c++ web services as far as I can tell. gSoap works well, but it has been maintained by one person, the original coder for its whole life (high risk). WSO's WSF/C++ Was good but got ditched by WSO onto github with no maintainers! It's had no updates for years, and the current 'build' doesn't! If anyone can point me at a high performance c++ restful web service kit, with a reasonable prospect of being maintained. I'd appreciate it.