using libcurl in c program how can I consume webservices
Hi,
I have need to call webservices using libcurl through C program under ubuntu environment. Ho can I do this. I am unable to call web service using curl. |
Q: What have you tried?
Q: Are you sure C and libcurl are the right tool for the job? For example, have you considered Java? Or C++/Apache-Axis? |
I have to use C or C++ program only and libcurl file is installed in the device for which I am preparing the module.
|
OK - libcurl it is then :)
As you probably know, "web services" generally come in one of two flavors: a) SOAP (e.g. for a .Net web service) b) REST (increasingly common, due to the complexity and overhead incurred by SOAP web services) Here's some example code for both SOAP and REST, using libCurl: http://www.ebi.ac.uk/Tools/webservic...p/rest/libcurl Here's a nice, short introduction to SOAP Web Services: http://www.soatutorial.net/soa-techn...oap-wsdl-uddi/ <= I would definitely encourage you to make sure you're comfortable with the basic concepts before you dig in to any code |
Libcurl
How can I consume web servisec by Libcurl.
|
All times are GMT -5. The time now is 07:38 PM. |