I need to do just one SOAP over HTTP request in an application. No other transports than HTTP, i'll just to the request and crunch the response. Due to it being just one request, i don't really need something that has a c++ code generator from WSDL, just some API to build the request with.
This will be on a cpu and memory constrained system (arm), also generally crippled in the support libraries department.
I can do plain C or C++, i have some kind of (also crippled) STL, but not much else and i'd rather not add too many megabytes of libraries.
I have libxml2 (not sure if it has any connection, but i'm a SOAP noob) on my target platform.
Needs to compile on gcc/linux, of course. I can handle any x86->arm transition oddities.
gSOAP is out of the question because of licensing and hugeness.
Some googling led me to http://simplesoap.sourceforge.net/ but i'd like to hear if there are any alternatives before i dive in.
So, any other sugesstions from fellow SO members? Thank you.
simpleSOAP doesn't compile with a modern gcc (example: error: taking address of temporary [-fpermissive]). I can probably fix that but not for one request.
So... manual it is...
Well, if it is that simple, you can use a low level HTTP lib like libcurl and code your request by hand or using an xml lib.
I do not know simplesoap. I've just browsed the site, it seems adequate ^^
I agree with you on gSoap :)
My 2 cents.
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