Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A Good C++ Library for SOAP

What are the alternatives for SOAP development in C++? Which one do you prefer and is most supported/modern?

like image 712
knaser Avatar asked Jan 16 '09 14:01

knaser


People also ask

What is soap C++?

Welcome to Axis C++, the opensource c++ implementation of SOAP ! What is SOAP? SOAP is an XML-based communication protocol and encoding format for inter-application communication.

Is gSOAP free?

So the answer is that as long as you do NOT use wsdl2h, do NOT use the web server code, and do NOT use the UDDI code then you can use the gSOAP public license for free (which is based on the MPL1. 1 open source license and a copy of the gSOAP public license is included in the package).

What is gSOAP used for?

gSOAP is a C and C++ software development toolkit for SOAP/XML web services and generic XML data bindings. Given a set of C/C++ type declarations, the compiler-based gSOAP tools generate serialization routines in source code for efficient XML serialization of the specified C and C++ data structures.

Can I use CPP library in C?

If the C++ compiler provides its own versions of the C headers, the versions of those headers used by the C compiler must be compatible. Oracle Developer Studio C and C++ compilers use compatible headers, and use the same C runtime library. They are fully compatible.


2 Answers

Check out Apache Axis. That is my all times favorite SOAP implementation. It's SOAP done right! Exists for C++ and Java.
http://ws.apache.org/axis/
And in best traditions of Apache Foundation, it is FREE and OPENSOURCE.
So, enjoy!

like image 72
Ma99uS Avatar answered Sep 22 '22 10:09

Ma99uS


I had to make SOAP calls for a project a while ago and the only acceptable solution I found was GSOAP.

http://www.cs.fsu.edu/~engelen/soap.html

It supports both C and C++ code, although working with C++ is nicer and easier to understand. It worked ok although there was an incompatibility with our WCF web service which meant we had to manually edit the automagically generated source code.

like image 44
JamieH Avatar answered Sep 25 '22 10:09

JamieH