REA_ANDREW
REA_ANDREW

Reputation: 10764

Is there any standard to consume a webservice inside of native C++?

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

Upvotes: 1

Views: 962

Answers (2)

Georg Fritzsche
Georg Fritzsche

Reputation: 98964

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++, ...

Upvotes: 2

Andrew Borley
Andrew Borley

Reputation: 1784

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."

Upvotes: 1

Related Questions