[Please do not mail me a copy of your followup]
Christopher Pisz <
nos...@notanaddress.com> spake the secret code
<m0houd$fhr$
1...@dont-email.me> thusly:
>It looks like I can't ignore it any longer. Everyone wants to talk to my
>C++ clients using web services. I can no longer just make a socket and
>define my own protocol or XML schema. I understand web services are just
>REST and SOAP. Where would we start in C++ land without handy IDE code
>generators and frameworks those .NET guys have?
>
>Did boost have anything built in that I should look up?
I'm not aware of anything in boost, although there is cpp-netlib that
hopes to fill this void.
<
https://github.com/cpp-netlib/cpp-netlib>
>I tried GSoap and failed at it after 3 days of trying. Any others to
>look into?
Yeah, GSoap isn't the greatest thing. I've used it successfully in
the past to talk to WSDL based web services from C++, but I usually
cringed when I looked at the code it generated from the WSDL. For
WSDLs with objects with many (hundreds) of methods, the resulting
library was tens of megabytes, which didn't install confidence in our
team. The one thing GSoap has going for it is that if you need to
talk to a WSDL based service from C++ and the WSDL is reasonably
sized, then it provides a ready-made path for achieving that
objective without writing tons of manual code.
However, most of the world has left WSDL (SOAP) based web services
behind and instead focused more on RESTful APIs. A good, free book
on designing RESTful web services is here:
<
http://restfulwebapis.com/rws.html>
If you want to supply a restful API from your C++ based server, then
you might want to look at this stack overflow thread:
<
http://stackoverflow.com/questions/15183232/library-for-restful-api-in-c>
--
"The Direct3D Graphics Pipeline" free book <
http://tinyurl.com/d3d-pipeline>
The Computer Graphics Museum <
http://computergraphicsmuseum.org>
The Terminals Wiki <
http://terminals.classiccmp.org>
Legalize Adulthood! (my blog) <
http://legalizeadulthood.wordpress.com>