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?
Web Services are self-describing, that means ASP.NET automatically provides all the information the client needs to consume a service as a WSDL document. The WSDL document tells a client what methods are present in a web service, what parameters and return values each method uses and how to communicate with them.
SOAP stands for Simple Object Access Protocol. This protocol is used for exchanging web service data. When the server returns the SOAP package to the client, the proxy decodes everything and presents it to the client application.
Both APIs and web services are technologies that enable the transfer of data between separate software applications. API is an interface that exposes an application's data to outside software, whereas web applications are one type of API with stricter requirements.
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.
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