I'm writing a native c++ application that needs to grab information from a web service.
What is the recommended library/libraries to handle this in c++?
I cannot use .NET for this.
I'm writing a native c++ application that needs to grab information from a web service.
What is the recommended library/libraries to handle this in c++?
I cannot use .NET for this.
gSOAP is quite good.
Almost all the big players(Adobe Systems, AOL, BEA, Boeing, Cisco Systems, CNR, eBay, Ericsson, Exxon/Mobile, HP, IBM, Intel, Microsoft, Nokia, Pfizer, Siemens, WindRiver, Xerox...) are using it.
Windows Web Services APIs http://msdn.microsoft.com/en-us/library/dd430435%28VS.85%29.aspx
You can try WSF Staff (client part). Easy create web services and clients in C++.
Generated code is compact, light, human readable and easy to understand.
Open source, based on Axis2/C (wrapped most most used Axis2/C features into C++ code, also have many additional options). Ported to Windows, Linux.
Project page:
http://code.google.com/p/staff/
Example: How to create Calculator client:
http://code.google.com/p/staff/wiki/ExampleCalculatorClientWindows
Example: How to create StockQuote client by WSDL:
http://code.google.com/p/staff/wiki/ExampleCreatingCppClientFromWsdl