Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web Services in C and C++ [closed]

Tags:

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?

like image 431
mainstringargs Avatar asked Jul 01 '11 01:07

mainstringargs


People also ask

What is Web Services C?

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.

What is SOAP Web service in C#?

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.

What is the difference between an API and a Web service?

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.


2 Answers

As far as I understand the most popular free solution is gSOAP http://gsoap2.sourceforge.net/

like image 78
MK. Avatar answered Nov 03 '22 01:11

MK.


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.

like image 35
Alok Save Avatar answered Nov 03 '22 01:11

Alok Save