Web Services in C and C++

48,426

Solution 1

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

Solution 2

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.

Solution 3

I tested Pion at http://www.pion.org/. Deriving from its class pion::net::WebService and create HTTP responses is pretty easy.

Solution 4

I think your best option is to use the WSO2 Web Services Framework for C++ because:

  1. It's high-performance
  2. It's easy to integrate
  3. It's easy to use (Quick start guide)
  4. It have a lot of tools around: WSDL2CPP ( Code Generation tool ), tcpmon ( SOAP Message viewer ) and WSClient ( command line web services client )
  5. It have an organic support for WS-Security, WS-Security Policy, WS-Secure Conversation and WS-Reliable Messaging.
  6. And my favorite: Runtime management using WSO2 Carbon based Web Interface.

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.

Solution 5

1.XML-RPC

2.WWSAPI

3.WSO2

The first one looks solid,though I have no hands on Experience.

Share:
48,426
mainstringargs
Author by

mainstringargs

Updated on July 10, 2022

Comments

  • mainstringargs
    mainstringargs almost 2 years

    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?