Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I call web service from C program?

Status
Not open for further replies.

jahooper23

Programmer
Dec 3, 2004
2
0
0
US
I've been asked to code a C program to call a .NET web service from a Unix application... Has anyone done this, and are there any suggestions? Thanks...
 
From client's side Web service is just a HTTP request&response with bloated encoding of parameters and results.

You need http client, xml writer/reader, soap envelope & bit of good old socket mess (and of course specs of web service - wsdl file).
(network spying on HTTP port also helps - Wireshark FTW! )
 
Thanks... Do you have a C code sample of this? What components do you recommend? Have you used gnome's libxml?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top