LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-09-2011, 12:08 AM   #1
sushilpandey
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Rep: Reputation: 0
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.
 
Old 02-09-2011, 12:46 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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?
 
1 members found this post helpful.
Old 02-09-2011, 05:51 AM   #3
sushilpandey
LQ Newbie
 
Registered: Feb 2011
Posts: 2

Original Poster
Rep: Reputation: 0
I have to use C or C++ program only and libcurl file is installed in the device for which I am preparing the module.
 
Old 02-09-2011, 11:58 AM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
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

Last edited by paulsm4; 02-09-2011 at 12:01 PM.
 
Old 02-21-2011, 11:14 PM   #5
meet.pawan53
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
Libcurl

How can I consume web servisec by Libcurl.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fast WebServices traene Programming 1 09-17-2007 09:44 AM
Fast WebServices traene Programming 0 09-17-2007 02:34 AM
WebServices on Java poeta_boy Programming 2 07-23-2005 02:45 AM
Writing a CPU Consume Program to Test a Distributed System russelh Programming 4 11-30-2004 02:27 PM
Need help setting up webservices Madmullen Linux - Newbie 0 09-30-2001 04:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration