views:

148

answers:

3

I am looking for resources to show me how I can consume web services inside native C++ . Are there any popular libraries I can use?

TIA

Andrew

+1  A: 

There are the Axis2/C libraries, which, while C based rather than C++, are still easily employable - when I was working on Apache Tuscany, we used Axis2/C for our C++ Web Service bindings.

From the Axis2/C front page: "Apache Axis2/C supports SOAP 1.1 and SOAP 1.2, as well as REST style of Webservices. A single service could be exposed both as a SOAP style as well as a REST style service simultaneously. It also has built in MTOM support, that can be used to exchange binary data."

ajborley
+1  A: 

It really depends on what webservice architecture you are talking about... For XML-RPC IBM has a nice article showcasing XMLRPC++, for SOAP there is e.g. gSOAP or WSO2 WSF/C++, ...

Georg Fritzsche
+1  A: 

If you mean SOAP services, already answered here and here.

kgiannakakis