Answer the question
In order to leave comments, you need to log in
What are the C++ free open source libraries for SOAP client implementation?
Good day, colleagues.
There was a need to write a soap client in C ++. I was puzzled by the search for a suitable library / framework and was deeply disappointed by the poor choice. The requirements are as follows:
1. (Critical) The license must allow free use in a commercial product
2. Preferably Open source, but if the first point is met, a proprietary solution will do.
3. (Critical) Cross-platform (WinXP+, Linux)
4. (Critical) HTTP/HTTPS
5. SOAP 1.2 (non-critical, 1.1 may suffice)
6. (Optional) C++ code generation by wsdl.
From what I found, the most decent gsoap, but it has a separate license for commercial use.
I also found csoap, but it hasn't been updated since 2007.
Does anyone know other decent libraries/frameworks for writing a soap client in C++?
Forming xml manually is not an option.
Answer the question
In order to leave comments, you need to log in
>>gsoap, but it has a separate license for commercial use.
uh... let's better define that the GPL - requires open source, but not necessarily _free_.
And more importantly, the GPL _does_ not require public availability .
and according to the GPL - you are obliged to give the code only to the consumer, and not to everyone in a row.
those. bought a program from you - you put the source code on a CD for the consumer and burned it. No one is obligated to publish or share anything.
Do you understand?
Of course, the consumer will not be able to relicense further, but this is an ego problem) However, if he publishes, you will not make any claims against him either. It's his business. because it's GPL.
if the latter - then take everything that is going with GSOAP into a whitelisted dynamic link library and license it under the GPL and the rest of the code - as you see fit.
ZY: well, yes. GSOAP is the best . IMHO.
then I would point to WSF Staff - our guys, Russians, in 2011 actively responded to requests and fixed bugs. I think even now you can get through)) (by the way, they have an Apache license. How to use it in proprietary sources or commercial projects - I won’t say, I didn’t understand. My competence is GPL)))
There is also Axis2 and Axis2 / C , but the fact that they generate as C-code - scary and incomprehensible. Although for the Java type it's quite wow the code is sculpted.
In general, a long time ago I was tinkering with this and here is a comparative plate of what I dug up. Relevance for 2011, but I'm not sure what has changed a lot: www.prog.org.ru/topic_16542_0.html
UPD: here's something else dug sourceforge.net/projects/wsdlpull
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question